From cb2d2981a323bc7ca84e5c4ae98dba5b519a6f7a Mon Sep 17 00:00:00 2001 From: Jannis R Date: Fri, 28 Dec 2018 22:12:28 +0100 Subject: [PATCH] stops/stations: default .id of null --- parse/location.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/location.js b/parse/location.js index 2283ef2b..0303b8bb 100644 --- a/parse/location.js +++ b/parse/location.js @@ -39,7 +39,7 @@ const parseLocation = (profile, opt, {lines}, l) => { if (l.type === ADDRESS) res.address = l.name else res.name = l.name - if (l.type === POI) res.id = l.extId + if (l.type === POI) res.id = l.extId || null return res }