[#7] restored refresh after modification

This commit is contained in:
Camille Moussu
2025-08-26 14:46:10 +02:00
parent 502b6d6783
commit 5864875775
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -77,7 +77,6 @@ export const putEventAsync = createAsyncThunk<
new Date(new Date(newEvent.start).getTime() + 86400000)
),
})) as Record<string, any>;
console.log(calEvents)
const events: CalendarEvent[] = calEvents._embedded["dav:item"].flatMap(
(eventdata: any) => {
const vevents = eventdata.data[2] as any[][];
+1 -1
View File
@@ -13,7 +13,7 @@ export async function putEvent(event: CalendarEvent) {
if (response.status === 201) {
console.log("PUT (201) :", response.url);
}
return await response.json();
return response;
}
export async function deleteEvent(eventURL: string) {