From 6d9090fa8459166eb8488914583dbdf82976b839 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Mon, 11 Sep 2017 15:33:43 -0400 Subject: [PATCH] removed redundant 'default' check --- helper/geojsonify_place_details.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/geojsonify_place_details.js b/helper/geojsonify_place_details.js index 26059a1b..abf00dbc 100644 --- a/helper/geojsonify_place_details.js +++ b/helper/geojsonify_place_details.js @@ -69,7 +69,7 @@ function copyProperties( params, source, dst ) { if ( source.hasOwnProperty( prop.name ) ) { var value = null; - switch (_.defaultTo(prop.type, 'default')) { + switch (prop.type) { case 'string': value = getStringValue(source[prop.name]); break;