Update BikeSection and EventCard with arrival buffer and walk options
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type {
|
||||
GeocodeResult,
|
||||
BikeRoute,
|
||||
WalkRoute,
|
||||
CalendarEvent,
|
||||
Journey,
|
||||
Station,
|
||||
@@ -44,7 +45,7 @@ export class ApiClient {
|
||||
fromLng: number,
|
||||
toLat: number,
|
||||
toLng: number,
|
||||
): Promise<BikeRoute> {
|
||||
): Promise<WalkRoute> {
|
||||
const url = buildUrl(this.baseUrl, "/api/bike-route", {
|
||||
fromLat: String(fromLat),
|
||||
fromLng: String(fromLng),
|
||||
|
||||
Reference in New Issue
Block a user