Skip to content

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

@vercel
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