You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Or is a calendar that has errored but has not reached max attempts
176
+
{
177
+
error: {not: null},
178
+
watchAttempts: {
179
+
lt: {
180
+
// Using ts-ignore instead of ts-expect-error because I am seeing conflicting errors in CI. In one case ts-expect-error fails with `Unused '@ts-expect-error' directive.`
181
+
// Removing ts-expect-error fails in another case that _ref isn't defined
@@ -188,19 +210,43 @@ export class SelectedCalendarRepository {
188
210
// RN we only support google calendar subscriptions for now
189
211
integration: "google_calendar",
190
212
googleChannelExpiration: {not: null},
191
-
user: {
192
-
teams: {
193
-
every: {
194
-
team: {
195
-
features: {
196
-
none: {
197
-
featureId: "calendar-cache",
213
+
AND: [
214
+
{
215
+
OR: [
216
+
// Either is a calendar that has not errored during unwatch
217
+
{error: null},
218
+
// Or is a calendar that has errored during unwatch but has not reached max attempts
219
+
{
220
+
error: {not: null},
221
+
unwatchAttempts: {
222
+
lt: {
223
+
// Using ts-ignore instead of ts-expect-error because I am seeing conflicting errors in CI. In one case ts-expect-error fails with `Unused '@ts-expect-error' directive.`
224
+
// Removing ts-expect-error fails in another case that _ref isn't defined
0 commit comments