From ae2007c9e2c8179408480a1b499d12a23fa7c596 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Thu, 6 Dec 2018 11:38:46 +0100 Subject: [PATCH] =?UTF-8?q?fix=20=C3=96BB=20:bug:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- p/oebb/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/oebb/index.js b/p/oebb/index.js index 743388f0..c001564b 100644 --- a/p/oebb/index.js +++ b/p/oebb/index.js @@ -53,7 +53,7 @@ const createParseMovement = (profile, opt, data) => { res.nextStops = res.nextStops.filter(s => { if (s.station) { s = s.station - if (s.type === 'stop' || s.type === 'station') + if (s.station.type === 'stop' || s.station.type === 'station') return true } return s.type === 'stop' || s.type === 'station' })