Skip to content

Commit

Permalink
feat(create_driver_trip): add current point attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Franco Méndez committed Oct 26, 2019
1 parent e74e363 commit 11c449a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions create_driver_trip.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ async function createTrip(driverId, vehicleId, availableSeats, tripTimes, routeP
available_seats: availableSeats,
route_points: routePoints,
trip_status: 'open',
current_point: -1,
created_at: timestamp,
updated_at: timestamp
}
Expand Down

0 comments on commit 11c449a

Please sign in to comment.