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 },
|
admin: { type: Boolean },
|
||||||
password: { type: String },
|
password: { type: String },
|
||||||
salt: { type: String },
|
salt: { type: String },
|
||||||
mails: { type: Array, default: [] },
|
mails: { type: Array, default: () => [] },
|
||||||
phones: {
|
phones: {
|
||||||
array: true,
|
array: true,
|
||||||
model: true,
|
model: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user