Skip to content

Commit

Permalink
Update manually_fixing_data.mdx to use simple quotes to fix data
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfish authored Sep 11, 2024
1 parent 363e5a6 commit 51b0d55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/maintenance/manually_fixing_data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ values={[

## Terminate a drive or charge

If for some reason a drive or charge hasn't been fully recorded, for example due to a bug or an unexpected restart, you can terminate it manually. Among other things, this assigns an end date to the drive/charge.
If for some reason a drive or charge hasn't been fully recorded, for example due to a bug or an unexpected restart, you can terminate it manually. Among other things, this assigns an end date to the drive/charge. Depending on your environment you will need to use double quotes.

Replace `9999` with the actual ID then run the command while the TeslaMate container is running:

Expand All @@ -51,15 +51,15 @@ values={[

```bash
docker compose exec teslamate bin/teslamate rpc \
"TeslaMate.Repo.get!(TeslaMate.Log.Drive, 9999) |> TeslaMate.Log.close_drive()"
'TeslaMate.Repo.get!(TeslaMate.Log.Drive, 9999) |> TeslaMate.Log.close_drive()'
```

</TabItem>
<TabItem value="charge">

```bash
docker compose exec teslamate bin/teslamate rpc \
"TeslaMate.Repo.get!(TeslaMate.Log.ChargingProcess, 9999) |> TeslaMate.Log.complete_charging_process()"
'TeslaMate.Repo.get!(TeslaMate.Log.ChargingProcess, 9999) |> TeslaMate.Log.complete_charging_process()'
```

</TabItem>
Expand Down

0 comments on commit 51b0d55

Please sign in to comment.