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

Fix getUserByProviderAccountId in Prisma adapter #626

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

iaincollins
Copy link
Member

Fixes getUserByProviderAccountId in the Prisma adapter so it returns a User object and not an Account object.

Resolves #559 reported by @sondh0127

@iaincollins iaincollins added bug Something isn't working priority Priority fix or enhancement labels Aug 31, 2020
@vercel
Copy link

vercel bot commented Aug 31, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextauthjs/next-auth/oyd6qjs54
✅ Preview: https://next-auth-git-feature-prisma2-adapter-fix.nextauthjs.vercel.app

@iaincollins iaincollins merged commit 7c71a15 into main Sep 1, 2020
@iaincollins iaincollins deleted the feature/prisma2-adapter-fix branch September 1, 2020 09:39
@github-actions
Copy link

github-actions bot commented Feb 1, 2021

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority Priority fix or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Prisma 2 adapter return wrong User model on "getUserByProviderAccountId"
1 participant