Skip to content

Commit 440473b

Browse files
Rany0101simeng-li
andauthored
chore: update
Co-authored-by: simeng-li <simeng@silverhand.io>
1 parent a696f76 commit 440473b

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
@@ -191,7 +191,7 @@ async function handleAuthorizationCallback(
191191

192192
// Store the tokens in Logto's Secret Vault
193193
await fetch('https://[tenant-id].logto.app/my-account/identities/google/access-token', {
194-
method: 'PATCH',
194+
method: 'PUT',
195195
headers: {
196196
Authorization: `Bearer ${userAccessToken}`,
197197
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)