fix scopes

This commit is contained in:
Ramnique Singh 2026-01-28 07:03:21 +05:30
parent efa91f8627
commit 7f91e8829c
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -11,7 +11,7 @@ const SYNC_DIR = path.join(WorkDir, 'calendar_sync');
const SYNC_INTERVAL_MS = 5 * 60 * 1000; // Check every 5 minutes
const LOOKBACK_DAYS = 14;
const REQUIRED_SCOPES = [
'https://www.googleapis.com/auth/calendar.readonly',
'https://www.googleapis.com/auth/calendar.events.readonly',
'https://www.googleapis.com/auth/drive.readonly'
];