Skip to content

fix: next-auth.d.ts - #25

Open
mateussmohamed wants to merge 1 commit into
code-with-antonio:masterfrom
mateussmohamed:patch-1
Open

fix: next-auth.d.ts#25
mateussmohamed wants to merge 1 commit into
code-with-antonio:masterfrom
mateussmohamed:patch-1

Conversation

@mateussmohamed

@mateussmohamed mateussmohamed commented Feb 25, 2024

Copy link
Copy Markdown

This update fixes the problem with the next-auth type override. It was necessary to import next-auth/jwt in next-auth.d.ts. With this change, the as UserRole is no longer necessary on session.user.role = token.role;

This update fixes the problem with the next-auth type override. It was necessary to import `next-auth/jwt` in `next-auth.d.ts`. With this change, the `as UserRole` is no longer necessary.
@vercel

vercel Bot commented Feb 25, 2024

Copy link
Copy Markdown

Someone is attempting to deploy a commit to a Personal Account owned by @AntonioErdeljac on Vercel.

@AntonioErdeljac first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant