Changed default value for points
This commit is contained in:
parent
b1372c0ede
commit
d71fb9f1d7
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ const User = mongoose.Schema(
|
|||
{
|
||||
username: { type: String, required: true, unique: true },
|
||||
email: { type: String, required: true, unique: true },
|
||||
points: { type: Number, required: true, default: 1 },
|
||||
points: { type: Number, required: true, default: 0 },
|
||||
salt: { type: String, required: true },
|
||||
lastMailFetch: { type: Date, default: new Date(0) },
|
||||
lastAnswerFetch: { type: Date, default: new Date(0) },
|
||||
|
|
|
|||
Reference in a new issue