From 759c0e0939f38c9123e18697324ab5ea0fe0b08b Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Tue, 3 Oct 2017 15:41:21 -0400 Subject: [PATCH] switched to lodash.extend over extend module --- middleware/geocodeJSON.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/geocodeJSON.js b/middleware/geocodeJSON.js index 75cfd301..9bc20f1b 100644 --- a/middleware/geocodeJSON.js +++ b/middleware/geocodeJSON.js @@ -74,7 +74,7 @@ function convertToGeocodeJSON(req, res, next, opts) { res.body.geocoding.timestamp = new Date().getTime(); // 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(); }