fix(v1:vehicles): company_name comes from company.company_name
This commit is contained in:
@@ -15,7 +15,7 @@ const pointSchema = new Schema({
|
||||
|
||||
const schema = new Schema({
|
||||
company: { type: Schema.Types.ObjectId, ref: 'companies', required: true }, // carrier
|
||||
company_name : { type: String },
|
||||
company_name : { type: String, required: true },
|
||||
|
||||
vehicle_code: { type: String },
|
||||
vehicle_name: { type: String },
|
||||
|
||||
Reference in New Issue
Block a user