feat: podpora notifikací z notify

This commit is contained in:
2023-10-12 19:09:32 +02:00
committed by Martin Berka
parent 3460d69899
commit 6d89858e3e
7 changed files with 116 additions and 17 deletions

View File

@@ -17,3 +17,7 @@ export const removeChoice = async (locationIndex: number, foodIndex: number, day
export const changeDepartureTime = async (time: string, dayIndex?: number) => {
return await api.post<any, any>(`${FOOD_API_PREFIX}/changeDepartureTime`, JSON.stringify({ time, dayIndex }));
}
export const jdemeObed = async () => {
return await api.post<any, any>(`${FOOD_API_PREFIX}/jdemeObed`, JSON.stringify({}));
}