Browse Source

switched to lodash.extend over extend module

pull/1015/head
Stephen Hess 7 years ago
parent
commit
759c0e0939
  1. 2
      middleware/geocodeJSON.js

2
middleware/geocodeJSON.js

@ -74,7 +74,7 @@ function convertToGeocodeJSON(req, res, next, opts) {
res.body.geocoding.timestamp = new Date().getTime(); res.body.geocoding.timestamp = new Date().getTime();
// convert docs to geojson and merge with geocoding block // convert docs to geojson and merge with geocoding block
extend(res.body, geojsonify(req.clean, res.data || [])); _.extend(res.body, geojsonify(req.clean, res.data || []));
next(); next();
} }

Loading…
Cancel
Save