chore: fix verifyEmail missing update properties

This commit is contained in:
Dan Ribbens
2023-09-26 15:44:04 -04:00
parent a48d000b54
commit a5f162e883
2 changed files with 2 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ export const traverseFields = ({
let targetIndexes = indexes
if (fieldAffectsData(field)) {
columnName = `${columnPrefix || ''}${toSnakeCase(field.name)}`
columnName = `${columnPrefix || ''}${field.name[0] === '_' ? '_' : ''}${toSnakeCase(field.name)}`
fieldName = `${fieldPrefix || ''}${field.name}`
// If field is localized,