Add new endpoint
This commit is contained in:
@@ -5,6 +5,9 @@ const RenewalSchema = mongoose.Schema({
|
||||
type: String,
|
||||
ref: 'Device'
|
||||
},
|
||||
IMEI: {
|
||||
type: String,
|
||||
},
|
||||
renewDate: Date,
|
||||
renewType: {
|
||||
type: String,
|
||||
@@ -20,10 +23,6 @@ const RenewalSchema = mongoose.Schema({
|
||||
default: 0,
|
||||
required: true
|
||||
},
|
||||
dollarProfit: {
|
||||
type: Number,
|
||||
min: 0
|
||||
},
|
||||
userId: {
|
||||
type: String,
|
||||
ref: 'UserGPS'
|
||||
|
||||
Reference in New Issue
Block a user