chore: remove wrong logs (#17648)

This commit is contained in:
Benny Joo authored and GitHub committed 2024-11-14 18:57:51 +00:00
1 parent 12c5005305
commit 039a0b7a85
2 files changed
-10

No files matched your search

@@ -19,11 +19,6 @@ export async function getAllCalendars(
allCalendars = [...allCalendars, ...(response.data.items ?? [])];
pageToken = response.data.nextPageToken;
logger.error("Google Calendar pagination failed in the middle", {
totalSoFar: allCalendars.length,
hasMorePages: !!pageToken,
});
} while (pageToken);
return allCalendars;
-5
View File
@@ -23,11 +23,6 @@ export async function getAllCalendars(
allCalendars = [...allCalendars, ...(response.data.items ?? [])];
pageToken = response.data.nextPageToken;
logger.error("Google Calendar pagination failed in the middle", {
totalSoFar: allCalendars.length,
hasMorePages: !!pageToken,
});
} while (pageToken);
return allCalendars;