Browse Source

Fix 'elseif' to 'else if'

pull/1079/head
Tyler Pedelose 7 years ago
parent
commit
c130f32cf1
  1. 2
      middleware/normalizeParentIds.js

2
middleware/normalizeParentIds.js

@ -43,7 +43,7 @@ function normalizeParentIds(place) {
// it's always WOF ids and hardcode to that // it's always WOF ids and hardcode to that
if (place.source === 'geonames' && place.source_id === placetype_ids[0]) { if (place.source === 'geonames' && place.source_id === placetype_ids[0]) {
source = place.source; source = place.source;
} elseif (place.source === 'geonamesmil' && place.source_id === placetype_ids[0]) { } else if (place.source === 'geonamesmil' && place.source_id === placetype_ids[0]) {
source = place.source; source = place.source;
} }

Loading…
Cancel
Save