dont download calendar attachments

This commit is contained in:
Ramnique Singh 2026-01-29 14:12:12 +05:30
parent 7f91e8829c
commit 4a47006aa9
2 changed files with 2 additions and 3 deletions

View file

@ -63,7 +63,6 @@ const providerConfigs: ProviderConfig = {
scopes: [
'https://www.googleapis.com/auth/gmail.readonly',
'https://www.googleapis.com/auth/calendar.events.readonly',
'https://www.googleapis.com/auth/drive.readonly',
],
},
'fireflies-ai': {

View file

@ -12,7 +12,7 @@ const SYNC_INTERVAL_MS = 5 * 60 * 1000; // Check every 5 minutes
const LOOKBACK_DAYS = 14;
const REQUIRED_SCOPES = [
'https://www.googleapis.com/auth/calendar.events.readonly',
'https://www.googleapis.com/auth/drive.readonly'
// 'https://www.googleapis.com/auth/drive.readonly'
];
const nhm = new NodeHtmlMarkdown();
@ -186,7 +186,7 @@ async function syncCalendarWindow(auth: OAuth2Client, syncDir: string, lookbackD
for (const event of events) {
if (event.id) {
await saveEvent(event, syncDir);
await processAttachments(drive, event, syncDir);
// await processAttachments(drive, event, syncDir);
currentEventIds.add(event.id);
}
}