Fixing wrong default value bug
This commit is contained in:
parent
b6f5a38f10
commit
774df52736
@ -43,7 +43,7 @@ const User = DB.addModel<IUser>({
|
||||
admin: { type: Boolean },
|
||||
password: { type: String },
|
||||
salt: { type: String },
|
||||
mails: { type: Array, default: [] },
|
||||
mails: { type: Array, default: () => [] },
|
||||
phones: {
|
||||
array: true,
|
||||
model: true,
|
||||
|
Loading…
Reference in New Issue
Block a user