From 942a8ff0a3599c59ce031f6e18dbd010fc2654bc Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 12 Oct 2016 12:17:49 -0400 Subject: [PATCH] removed redundant for pelias-labels --- routes/v1.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/routes/v1.js b/routes/v1.js index 99a54a96..570ee6c1 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -88,7 +88,7 @@ function addRoutes(app, peliasConfig) { postProc.renamePlacenames(), postProc.parseBoundingBox(), postProc.normalizeParentIds(), - postProc.assignLabels(require('pelias-labels')), + postProc.assignLabels(), postProc.geocodeJSON(peliasConfig, base), postProc.sendJSON ]), @@ -104,7 +104,7 @@ function addRoutes(app, peliasConfig) { postProc.parseBoundingBox(), postProc.normalizeParentIds(), postProc.geocodeJSON(peliasConfig, base), - postProc.assignLabels(require('pelias-labels')), + postProc.assignLabels(), postProc.sendJSON ]), reverse: createRouter([ @@ -122,7 +122,7 @@ function addRoutes(app, peliasConfig) { postProc.parseBoundingBox(), postProc.normalizeParentIds(), postProc.geocodeJSON(peliasConfig, base), - postProc.assignLabels(require('pelias-labels')), + postProc.assignLabels(), postProc.sendJSON ]), nearby: createRouter([ @@ -140,7 +140,7 @@ function addRoutes(app, peliasConfig) { postProc.parseBoundingBox(), postProc.normalizeParentIds(), postProc.geocodeJSON(peliasConfig, base), - postProc.assignLabels(require('pelias-labels')), + postProc.assignLabels(), postProc.sendJSON ]), place: createRouter([ @@ -152,7 +152,7 @@ function addRoutes(app, peliasConfig) { postProc.parseBoundingBox(), postProc.normalizeParentIds(), postProc.geocodeJSON(peliasConfig, base), - postProc.assignLabels(require('pelias-labels')), + postProc.assignLabels(), postProc.sendJSON ]), status: createRouter([