Skip to content

Commit

Permalink
fix api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenWizard2015 committed Jan 3, 2024
1 parent 5eeb905 commit 3171bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/api/CWaterPumpAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class CWaterPumpAPI {
}

async start(runTimeMs) {
const response = await this._client.get('/start', {
runTimeMs: runTimeMs
const response = await this._client.get('/pour_tea', {
milliseconds: runTimeMs,
});
return response.data;
}
Expand Down

0 comments on commit 3171bbd

Please sign in to comment.