This commit is contained in:
Timothy Jaeryang Baek
2026-05-28 17:29:01 -05:00
parent 84659035f0
commit 78b1637a03
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -49,13 +49,13 @@ export type CalendarEventModel = {
export type CalendarEventForm = {
calendar_id: string;
title: string;
description?: string;
description?: string | null;
start_at: number;
end_at?: number;
all_day?: boolean;
rrule?: string;
color?: string;
location?: string;
location?: string | null;
data?: Record<string, any>;
meta?: Record<string, any>;
attendees?: { user_id: string; status?: string }[];
@@ -103,11 +103,11 @@
const result = await updateCalendarEvent(localStorage.token, event.id, {
calendar_id: calendarId,
title: title.trim(),
description: description.trim() || '',
description: description.trim() || null,
start_at: startNs,
end_at: endNs,
all_day: allDay,
location: location.trim() || '',
location: location.trim() || null,
meta: { alert_minutes: alertMinutes }
});
if (result) {