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`);
}
// 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;
}

Loading…
Cancel
Save