Scheduling infrastructure for absolutely everyone.
Fix readonly check (#10824)
Joe Au-Yeungd178962c37d6
diff --git a/packages/app-store/googlecalendar/lib/CalendarService.ts b/packages/app-store/googlecalendar/lib/CalendarService.tsindex 746fd4c902e..5e515672339 100644--- a/packages/app-store/googlecalendar/lib/CalendarService.ts+++ b/packages/app-store/googlecalendar/lib/CalendarService.ts@@ -409,7 +409,7 @@ export default class GoogleCalendarService implements Calendar {integration: this.integrationName,name: cal.summary ?? "No name",primary: cal.primary ?? false,- readOnly: !(cal.accessRole === "reader" || cal.accessRole === "owner") && true,+ readOnly: !(cal.accessRole === "writer" || cal.accessRole === "owner") && true,email: cal.id ?? "",};return calendar;