@tride/grab-handler
Advanced tools
Comparing version 0.4.5 to 0.4.6
14
index.js
@@ -152,12 +152,14 @@ require('dotenv').config() | ||
.then(response => { | ||
const { data } = response | ||
const { driver, vehicle } = await this.grabBase.get(`/api/passenger/v3/rides/${rideId}`) | ||
const driver = { | ||
name: "Dummy Driver", | ||
rating: 4.8, | ||
pictureUrl: "http://google.com", | ||
phoneNumber: "081234567890", | ||
name: driver.name, | ||
rating: driver.rating, | ||
pictureUrl: driver.imageURL, | ||
phoneNumber: "081210361048", // TODO: fetch driver's phone number | ||
vehicle: { | ||
plate: "B 1234 AA", | ||
name: "Honda Vario" | ||
plate: vehicle.plateNumber, | ||
name: vehicle.model | ||
} | ||
@@ -164,0 +166,0 @@ } |
{ | ||
"name": "@tride/grab-handler", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:trride/grab-handler.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118694
313