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(),