From 610f4ce4f3061b070faf8c8c906ee325e6a7f19b Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Fri, 22 Jul 2016 12:01:59 -0400 Subject: [PATCH] Fix missing parameter This should have been in https://github.com/pelias/api/pull/595, but was misssed until found during testing on dev2 --- routes/v1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/v1.js b/routes/v1.js index c15f28d7..9ef95856 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -103,7 +103,7 @@ function addRoutes(app, peliasConfig) { ]), place: createRouter([ sanitisers.place.middleware, - controllers.place(), + controllers.place(peliasConfig), postProc.localNamingConventions(), postProc.renamePlacenames(), postProc.parseBoundingBox(),