Browse Source

use Object.assign instead of lodash.assign

pull/1002/head
Stephen Hess 7 years ago
parent
commit
473c79e13c
  1. 4
      helper/geojsonify.js

4
helper/geojsonify.js

@ -58,8 +58,8 @@ function geojsonifyPlace(params, place) {
logger.warn(`doc ${doc.gid} does not contain name.default`); logger.warn(`doc ${doc.gid} does not contain name.default`);
} }
// extend doc with all the details info // assign all the details info into the doc
_.assign(doc, collectDetails(params, place)); Object.assign(doc, collectDetails(params, place));
return doc; return doc;
} }

Loading…
Cancel
Save