fix: changed all refrences to passwordlessVerification to verificationTokens in auth module

This commit is contained in:
Balu Babu
2023-02-01 11:58:15 +05:30
parent 3afc89db6b
commit 5c5ab5bad5
6 changed files with 69 additions and 85 deletions

View File

@@ -88,7 +88,7 @@ export class UserService {
const createdUser = await this.prisma.user.create({
data: {
email: email,
accounts: {
providerAccounts: {
create: {
provider: 'magic',
providerAccountId: email,
@@ -121,7 +121,7 @@ export class UserService {
displayName: userDisplayName,
email: profile.emails[0].value,
photoURL: userPhotoURL,
accounts: {
providerAccounts: {
create: {
provider: profile.provider,
providerAccountId: profile.id,