Skip to content

Commit

Permalink
fix: DirectionsService.route contains the request in its response (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink authored Oct 16, 2023
1 parent 0e5e341 commit 5881f3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/directions-service/directions-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class DirectionsService implements google.maps.DirectionsService {
) => void
): Promise<google.maps.DirectionsResult> =>
Promise.resolve({
request,
routes: [] as Array<google.maps.DirectionsRoute>,
available_travel_modes: [] as Array<google.maps.TravelMode>,
geocoded_waypoints: [] as Array<google.maps.DirectionsGeocodedWaypoint>,
Expand Down

0 comments on commit 5881f3a

Please sign in to comment.