mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-28 09:56:25 -05:00
fix: field names
This commit is contained in:
@@ -403,7 +403,7 @@ export const createInternalAdapter = (
|
||||
value: userId,
|
||||
},
|
||||
{
|
||||
field: tables.account.fields.type.fieldName || "providerId",
|
||||
field: tables.account.fields.providerId.fieldName || "providerId",
|
||||
value: "credential",
|
||||
},
|
||||
],
|
||||
|
||||
@@ -97,7 +97,7 @@ export const phoneNumber = (options?: {
|
||||
},
|
||||
{
|
||||
field:
|
||||
ctx.context.tables.account.fields.type.fieldName ||
|
||||
ctx.context.tables.account.fields.providerId.fieldName ||
|
||||
"providerId",
|
||||
value: "credential",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user