From 11c449aacb1cc36d170a5f90f9a299291a0d7876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franco=20M=C3=A9ndez?= Date: Sat, 26 Oct 2019 04:09:13 -0300 Subject: [PATCH] feat(create_driver_trip): add current point attribute --- create_driver_trip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/create_driver_trip.js b/create_driver_trip.js index a07470d..e772822 100644 --- a/create_driver_trip.js +++ b/create_driver_trip.js @@ -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 }