Skip to content

Commit

Permalink
[cli] fix(gtfs): remove route_url since unavailable from Firestore
Browse files Browse the repository at this point in the history
  • Loading branch information
danshilm committed Apr 15, 2023
1 parent b788557 commit 7d938a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/admin-cli/src/lib/gtfs/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const getAllBusLines = async (): Promise<Route[]> => {
route_type: VehicleType.BUS,
agency_id: busLineData.operator,
route_long_name: `${busLineData.origin} to ${busLineData.destination}`,
route_url: `https://www.openstreetmap.org/relation/${busLineData.id}`,
// route URL needs the relation ID from OSM
// route_url: `https://www.openstreetmap.org/relation/${busLineData.id}`,
})
);

Expand Down

0 comments on commit 7d938a0

Please sign in to comment.