Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solved problems adding new attributes to user . #1509 #1762

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sankalpcreat
Copy link

Mainly problem was types of User was not defined it was a typescript error and due to this User coming from nextauth can have various roles and id but i have not made them mandatory by using

  1. interface and roles defined
  2. Made changes in next.auth.ts file
  3. These problem mostly arise from typescript

Copy link

vercel bot commented Oct 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saas-starter-kit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2024 9:43am

@Sankalpcreat
Copy link
Author

I have made changes in #1509 only problem was types of User was not defined so that was causing typescript linting error

@deepakprabhakara deepakprabhakara requested a review from a team October 9, 2024 12:32
@deepakprabhakara
Copy link
Member

@Sankalpcreat Please run npm run format to fix formatting issues.

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.

2 participants