From a7667d51f0599ce8c91812f2fd6fc4a74fb698ce Mon Sep 17 00:00:00 2001 From: danielhep Date: Thu, 19 Dec 2024 12:34:49 -0800 Subject: [PATCH] strict filtering use combination modes --- lib/actions/apiV2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] )