mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
GET and POST now same for scheduler
This commit is contained in:
@@ -97,9 +97,9 @@ export function getCustomizations(): AxiosPromise<void> {
|
||||
}
|
||||
|
||||
export function readSchedule(): AxiosPromise<Schedule> {
|
||||
return AXIOS.get('/getSchedule');
|
||||
return AXIOS.get('/schedule');
|
||||
}
|
||||
|
||||
export function writeSchedule(schedule: Schedule): AxiosPromise<void> {
|
||||
return AXIOS.post('/writeSchedule', schedule);
|
||||
return AXIOS.post('/schedule', schedule);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user