From ff8fdf486fe3ff67ba89fd519810d248a5ff0fb3 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 19 Oct 2016 17:04:18 -0400 Subject: [PATCH] moved label assign to before geocodeJSON for all routes --- routes/v1.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/routes/v1.js b/routes/v1.js index 570ee6c1..6c5afd58 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -103,8 +103,8 @@ function addRoutes(app, peliasConfig) { postProc.renamePlacenames(), postProc.parseBoundingBox(), postProc.normalizeParentIds(), - postProc.geocodeJSON(peliasConfig, base), postProc.assignLabels(), + postProc.geocodeJSON(peliasConfig, base), postProc.sendJSON ]), reverse: createRouter([ @@ -121,8 +121,8 @@ function addRoutes(app, peliasConfig) { postProc.renamePlacenames(), postProc.parseBoundingBox(), postProc.normalizeParentIds(), - postProc.geocodeJSON(peliasConfig, base), postProc.assignLabels(), + postProc.geocodeJSON(peliasConfig, base), postProc.sendJSON ]), nearby: createRouter([ @@ -139,8 +139,8 @@ function addRoutes(app, peliasConfig) { postProc.renamePlacenames(), postProc.parseBoundingBox(), postProc.normalizeParentIds(), - postProc.geocodeJSON(peliasConfig, base), postProc.assignLabels(), + postProc.geocodeJSON(peliasConfig, base), postProc.sendJSON ]), place: createRouter([ @@ -151,8 +151,8 @@ function addRoutes(app, peliasConfig) { postProc.renamePlacenames(), postProc.parseBoundingBox(), postProc.normalizeParentIds(), - postProc.geocodeJSON(peliasConfig, base), postProc.assignLabels(), + postProc.geocodeJSON(peliasConfig, base), postProc.sendJSON ]), status: createRouter([