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 }