diff --git a/packages/core-utils/src/itinerary.ts b/packages/core-utils/src/itinerary.ts index 42363ff1c..602dc9061 100644 --- a/packages/core-utils/src/itinerary.ts +++ b/packages/core-utils/src/itinerary.ts @@ -670,7 +670,7 @@ export const convertGraphQLResponseToLegacy = (leg: any): any => ({ }, route: leg.route?.shortName, routeColor: leg.route?.color, - routeId: leg.route?.id, + routeId: leg.route?.gtfsId, routeLongName: leg.route?.longName, routeShortName: leg.route?.shortName, routeTextColor: leg.route?.textColor, diff --git a/packages/core-utils/src/planQuery.graphql b/packages/core-utils/src/planQuery.graphql index 3aa7d4372..eefd74dc6 100644 --- a/packages/core-utils/src/planQuery.graphql +++ b/packages/core-utils/src/planQuery.graphql @@ -157,6 +157,7 @@ query Plan( id } color + gtfsId id longName shortName