Skip to content

Commit

Permalink
Hot fix formatting (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisintech authored Oct 17, 2024
1 parent 3ecc450 commit d1ee791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/authentication/social-connections/oauth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ export async function GET() {

const clerkResponse = await clerkClient().users.getUserOauthAccessToken(userId, provider)

const accessToken = clerkResponse[0].token || '';
const accessToken = clerkResponse[0].token || ''

if (!accessToken) {
return NextResponse.json({ message: 'Access token not found' }, { status: 401 })
return NextResponse.json({ message: 'Access token not found' }, { status: 401 })
}

// Fetch the user data from the Notion API
Expand Down

0 comments on commit d1ee791

Please sign in to comment.