Skip to content

Commit a696f76

Browse files
Rany0101Copilot
andauthored
chore: update
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 88b403d commit a696f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/use-cases/ai/connect-your-agent-to-third-party-apis.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async function addCalendarEvent(userAccessToken: string, eventDetails: EventDeta
216216
// User hasn't authorized, request authorization with calendar scope
217217
await requestGoogleAuthorization(
218218
userAccessToken,
219-
'https://www.googleapis.com/auth/calendar.readonly'
219+
'https://www.googleapis.com/auth/calendar.events'
220220
);
221221
return; // Will continue after redirect
222222
}

0 commit comments

Comments
 (0)