Changed the threshold to string instead of number because my code dislike non-string stuff.

This commit is contained in:
Nahokey
2024-05-11 07:21:09 +00:00
parent 0ccddf0662
commit c510679374
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const NewUserAction = new mongoose.Schema(
required: true,
},
threshold: {
type: mongoose.SchemaTypes.Number,
type: mongoose.SchemaTypes.String,
required: true,
},
duration: {
+1 -1
View File
@@ -16,7 +16,7 @@ const VerifyFailAction = new mongoose.Schema(
required: true,
},
threshold: {
type: mongoose.SchemaTypes.Number,
type: mongoose.SchemaTypes.String,
required: true,
},
duration: {