Skip to content

Commit

Permalink
fix: use spaces for scopes separation
Browse files Browse the repository at this point in the history
  • Loading branch information
guilherme-codes committed Dec 12, 2024
1 parent d8457cc commit 0d453a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/server/lib/oauth/hubspot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function defineOAuthHubspotEventHandler({ config, onSuccess, onError }: O
withQuery('https://app.hubspot.com/oauth/authorize', {
client_id: config.clientId,
redirect_uri: redirectURL,
scope: config.scope?.join(',') || 'oauth',
scope: config.scope?.join(' ') || 'oauth',
}),
)
}
Expand Down

0 comments on commit 0d453a1

Please sign in to comment.