diff --git a/ui/src/api/CWaterPumpAPI.js b/ui/src/api/CWaterPumpAPI.js index c3f8f03..341ec20 100644 --- a/ui/src/api/CWaterPumpAPI.js +++ b/ui/src/api/CWaterPumpAPI.js @@ -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; }