Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend101Zz committed Apr 14, 2024
1 parent d2baa65 commit 07b9384
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controllers/driver.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ module.exports.createTripApi = async (req, res, next) => {
coordinateEnd: ending,
Start: start,
End: end,
via,
via: via,
start_time: start_time,
});

Expand Down Expand Up @@ -671,7 +671,7 @@ module.exports.createTripApi = async (req, res, next) => {
location2: end,
vehicle_num: veh,
viaRoute,
via,
via: via,
type: vehicle.Type,
TripId: result._id,
start_time: start_time,
Expand All @@ -696,7 +696,7 @@ module.exports.createTripApi = async (req, res, next) => {
Start: start,
End: end,
viaRoute,
via,
via: via,
start_time: start_time,
});

Expand Down Expand Up @@ -729,7 +729,7 @@ module.exports.createTripApi = async (req, res, next) => {
type: vehicle.Type,
TripId: result._id,
viaRoute,
via,
via: via,
start_time: start_time,
},
});
Expand Down

0 comments on commit 07b9384

Please sign in to comment.