refac
This commit is contained in:
1 parent
591e0aafa1
commit
91810f1c4e
1 file changed
+2
-2
@@ -103,11 +103,11 @@
|
|||||||
const result = await updateCalendarEvent(localStorage.token, event.id, {
|
const result = await updateCalendarEvent(localStorage.token, event.id, {
|
||||||
calendar_id: calendarId,
|
calendar_id: calendarId,
|
||||||
title: title.trim(),
|
title: title.trim(),
|
||||||
description: description.trim() || undefined,
|
description: description.trim() || '',
|
||||||
start_at: startNs,
|
start_at: startNs,
|
||||||
end_at: endNs,
|
end_at: endNs,
|
||||||
all_day: allDay,
|
all_day: allDay,
|
||||||
location: location.trim() || undefined,
|
location: location.trim() || '',
|
||||||
meta: { alert_minutes: alertMinutes }
|
meta: { alert_minutes: alertMinutes }
|
||||||
});
|
});
|
||||||
if (result) {
|
if (result) {
|
||||||
|
|||||||
Reference in new issue
Block a user