Set Expiry Custom not default

This commit is contained in:
SowinskiBraeden committed 2021-01-05 08:45:52 -08:00
1 parent a1f8ff4a19
commit 171ed935c3
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ const QuestSchema = new mongoose.Schema({
},
expiry: {
type: Date,
default: Date.now
required: true
},
xp: {
type: Number,