chore: remove wrong logs (#17648)
This commit is contained in:
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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user