From c130f32cf1c0c04ce0036201e734b99b08a48d97 Mon Sep 17 00:00:00 2001 From: Tyler Pedelose Date: Wed, 6 Dec 2017 12:19:54 -0500 Subject: [PATCH] Fix 'elseif' to 'else if' --- middleware/normalizeParentIds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/normalizeParentIds.js b/middleware/normalizeParentIds.js index fc762223..5a35e42e 100644 --- a/middleware/normalizeParentIds.js +++ b/middleware/normalizeParentIds.js @@ -43,7 +43,7 @@ function normalizeParentIds(place) { // it's always WOF ids and hardcode to that if (place.source === 'geonames' && place.source_id === placetype_ids[0]) { 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; }