fix: field names

This commit is contained in:
Bereket Engida
2024-10-16 02:35:29 +03:00
parent 8be9d76ad2
commit ce3f46aba2
2 changed files with 2 additions and 2 deletions

View File

@@ -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",
},
],

View File

@@ -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",
},