Skip to content

Commit

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

0 comments on commit 6c0aa43

Please sign in to comment.