Fix bug and DB string

This commit is contained in:
Mr Swift
2024-08-06 19:28:55 +03:30
parent 2870a0995b
commit a3a54a0d83
7 changed files with 21 additions and 11 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ const ScoreSchema = mongoose.Schema({
},
profit:{
type:Number,
min:0
min:0,
unique:true,
default:0,
required:true
},
dollarProfit:{
type:Number,