Skip to content

Commit

Permalink
Only string error if it exists (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser authored Aug 1, 2024
1 parent f4a4c99 commit ec966a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/server/services/authjs/nuxtAuthHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const NuxtAuthHandler = (nuxtAuthOptions?: AuthOptions) => {
query,
action,
providerId,
error: String(error) || undefined
error: error ? String(error) : undefined
}
}

Expand Down

0 comments on commit ec966a5

Please sign in to comment.