Skip to content

Commit

Permalink
Merge pull request #73 from davbauer/refactor-modes
Browse files Browse the repository at this point in the history
Fixed config validation
  • Loading branch information
davbauer authored Mar 26, 2024
2 parents 3d76cc9 + cd425d0 commit 60c95a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/classes/ConfigFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default class {
typeof data.OffsetWatts === 'number' &&
typeof data.BatteryCapacity === 'number' &&
typeof data.CarEfficiency === 'number' &&
typeof data.PreferredPhase === 'string'
typeof data.PreferredPhase === 'number'
);
}
}

0 comments on commit 60c95a9

Please sign in to comment.