diff --git a/src/apis/home.ts b/src/apis/home.ts index 37d729e..6f24ac4 100644 --- a/src/apis/home.ts +++ b/src/apis/home.ts @@ -2,7 +2,7 @@ import http from 'libs/http' const baseUrl = '/tasks/' export const setTargetTemperature = (params: Home.SetTargetTemperatureParams): Promise => http.post('/heat/target-temperature', params) -export const trayTube = (params: Home.TrayTubeParams): Promise => http.post('/tray/out', params) +export const trayTube = (params: Home.TrayTubeParams): Promise => http.post('/tray/tube', params) export const addTask = (params: Task.TaskAdd): Promise => http.post(baseUrl, params) export const stopTask = (): Promise => http.post(`${baseUrl}stop`) export const getTask = (id: number): Promise => http.get(`${baseUrl}${id}`)