aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/account.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts
index 84461a2eb..c370e1709 100644
--- a/server/models/account/account.ts
+++ b/server/models/account/account.ts
@@ -75,7 +75,7 @@ export default function defineAccount (sequelize: Sequelize.Sequelize, DataTypes
75 }, 75 },
76 publicKey: { 76 publicKey: {
77 type: DataTypes.STRING(CONSTRAINTS_FIELDS.ACCOUNTS.PUBLIC_KEY.max), 77 type: DataTypes.STRING(CONSTRAINTS_FIELDS.ACCOUNTS.PUBLIC_KEY.max),
78 allowNull: false, 78 allowNull: true,
79 validate: { 79 validate: {
80 publicKeyValid: value => { 80 publicKeyValid: value => {
81 const res = isAccountPublicKeyValid(value) 81 const res = isAccountPublicKeyValid(value)