This commit is contained in:
Mr Swift
2024-08-11 16:11:32 +03:30
parent 21a6907d9f
commit 180cb8b5cf
18 changed files with 192 additions and 100 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ const AwairdSchema = mongoose.Schema({
})
module.exports = mongoose.model('AwairdGPS', AwairdSchema)
module.exports = mongoose.model('AwardGPS', AwairdSchema)
+2 -2
View File
@@ -2,8 +2,8 @@ const mongoose = require('mongoose')
const AwardRequestSchema = mongoose.Schema({
awardId:{
type:String,
ref:'Award'
type:mongoose.Types.ObjectId,
ref:'AwardGPS'
},
userId:{
type:String,
+1 -1
View File
@@ -7,7 +7,7 @@ const BankSchema = mongoose.Schema({
type: Number,
},
IBAN: {
type: Number,
type: String,
}
})
+1 -1
View File
@@ -6,7 +6,7 @@ const BankSchema = mongoose.Schema({
type:Number,
},
IBAN:{
type:Number,
type:String,
}
})