From 91810f1c4e93d4f559bdf61cd085cadc288a732d Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 28 May 2026 17:26:31 -0500 Subject: [PATCH] refac --- src/lib/components/calendar/CalendarEventModal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/calendar/CalendarEventModal.svelte b/src/lib/components/calendar/CalendarEventModal.svelte index bba3b3426b..a5b05e1ab0 100644 --- a/src/lib/components/calendar/CalendarEventModal.svelte +++ b/src/lib/components/calendar/CalendarEventModal.svelte @@ -103,11 +103,11 @@ const result = await updateCalendarEvent(localStorage.token, event.id, { calendar_id: calendarId, title: title.trim(), - description: description.trim() || undefined, + description: description.trim() || '', start_at: startNs, end_at: endNs, all_day: allDay, - location: location.trim() || undefined, + location: location.trim() || '', meta: { alert_minutes: alertMinutes } }); if (result) {