Skip to content

Commit 2f160fe

Browse files
committed
fix(polling): revert calendar timestamp on any failure, not just all-fail
1 parent 104690d commit 2f160fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/webhooks/polling/google-calendar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const googleCalendarPollingHandler: PollingProviderHandler = {
141141
)
142142

143143
const newTimestamp =
144-
processedCount === 0 && failedCount > 0
144+
failedCount > 0
145145
? config.lastCheckedTimestamp
146146
: latestUpdated
147147
? new Date(new Date(latestUpdated).getTime() + 1).toISOString()

0 commit comments

Comments
 (0)