[#31] added repetition and all day to events to be sent

This commit is contained in:
Camille Moussu
2025-07-23 12:12:56 +02:00
parent 08789cb6f3
commit a150db82cd
4 changed files with 65 additions and 14 deletions
+10
View File
@@ -16,3 +16,13 @@ export async function putEvent(cal: Calendars, event: CalendarEvent) {
).json();
return response;
}
export async function deleteEvent(calId: string, eventId: string) {
const response = await api(
`dav/calendars/${calId}/${eventId.split(".")[0]}.isc`,
{
method: "DELETE",
}
).json();
return response;
}