Set Expiry Custom not default
This commit is contained in:
1 parent
a1f8ff4a19
commit
171ed935c3
1 file changed
+1
-1
+1
-1
@@ -11,7 +11,7 @@ const QuestSchema = new mongoose.Schema({
|
||||
},
|
||||
expiry: {
|
||||
type: Date,
|
||||
default: Date.now
|
||||
required: true
|
||||
},
|
||||
xp: {
|
||||
type: Number,
|
||||
|
||||
Reference in new issue
Block a user