Fix Bug
This commit is contained in:
@@ -9,4 +9,4 @@ const AwairdSchema = mongoose.Schema({
|
||||
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('AwairdGPS', AwairdSchema)
|
||||
module.exports = mongoose.model('AwardGPS', AwairdSchema)
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -7,7 +7,7 @@ const BankSchema = mongoose.Schema({
|
||||
type: Number,
|
||||
},
|
||||
IBAN: {
|
||||
type: Number,
|
||||
type: String,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ const BankSchema = mongoose.Schema({
|
||||
type:Number,
|
||||
},
|
||||
IBAN:{
|
||||
type:Number,
|
||||
type:String,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user