Skip to content

Commit

Permalink
fixed sheets bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikecerc committed Mar 30, 2023
1 parent 8570f26 commit 882f594
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-battery-logger",
"version": "2.3.1",
"version": "2.3.2",
"description": "A digital battery logger for FRC",
"main": "./dist/main/index.js",
"type": "commonjs",
Expand Down
4 changes: 2 additions & 2 deletions src/main/api/sheetsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function syncDb(): Promise<void> {
const values = docs.map((doc) => {
return [
`${doc.number.slice(0, 2)}${doc.number.slice(2, 4)}`,
doc.out == true ? "in" : "out",
doc.out == true ? "out" : "in",
doc.soc,
doc.rint,
doc.time,
Expand Down Expand Up @@ -147,7 +147,7 @@ async function syncDb(): Promise<void> {
const values = docs.map((doc) => {
return [
`${doc.number.slice(0, 2)}${doc.number.slice(2, 4)}`,
doc.out == true ? "in" : "out",
doc.out == true ? "out" : "in",
doc.soc,
doc.rint,
doc.time,
Expand Down

0 comments on commit 882f594

Please sign in to comment.