From 473c79e13cef355ffe832bae39c2306faa0fbb52 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 13 Sep 2017 13:10:26 -0400 Subject: [PATCH] use Object.assign instead of lodash.assign --- helper/geojsonify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/geojsonify.js b/helper/geojsonify.js index 150a35f7..515446ce 100644 --- a/helper/geojsonify.js +++ b/helper/geojsonify.js @@ -58,8 +58,8 @@ function geojsonifyPlace(params, place) { logger.warn(`doc ${doc.gid} does not contain name.default`); } - // extend doc with all the details info - _.assign(doc, collectDetails(params, place)); + // assign all the details info into the doc + Object.assign(doc, collectDetails(params, place)); return doc; }