From 1feaaf0e55f635a135d687cf1d48bafa48c09593 Mon Sep 17 00:00:00 2001 From: dabund24 Date: Sat, 25 Apr 2026 18:57:01 +0200 Subject: [PATCH] fix `zwischenhalte` option possibly being `null` for `dbweb` profile --- p/dbweb/journeys-req.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/dbweb/journeys-req.js b/p/dbweb/journeys-req.js index c23c7dbf..616fb094 100644 --- a/p/dbweb/journeys-req.js +++ b/p/dbweb/journeys-req.js @@ -18,7 +18,7 @@ const formatJourneysReq = (ctx, from, to, when, outFrwd, journeysRef) => { abfahrtsHalt: from.lid, zwischenhalte: opt.via ? [{id: profile.formatLocation(profile, opt.via, 'opt.via').lid}] - : null, + : undefined, ankunftsHalt: to.lid, produktgattungen: filters, bikeCarriage: opt.bike,