diff --git a/lib/actions/apiV2.js b/lib/actions/apiV2.js index 15d3f5d77..b71992917 100644 --- a/lib/actions/apiV2.js +++ b/lib/actions/apiV2.js @@ -1094,7 +1094,7 @@ export function routingQuery(searchId = null, updateSearchInReducer) { const itineraries = response.data?.plan?.itineraries // Convert user-selected transit modes from mode selector into modes recognized by OTP. - const activeModeStrings = activeModes.map( + const activeModeStrings = combo.modes.map( (am) => SIMPLIFICATIONS[am.mode] )