diff --git a/routes/v1.js b/routes/v1.js index 6d68d0ee..4791b67a 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -88,7 +88,7 @@ const PlaceHolder = require('../service/configurations/PlaceHolder'); function addRoutes(app, peliasConfig) { const esclient = elasticsearch.Client(peliasConfig.esclient); - const pipConfiguration = new PointInPolygon(peliasConfig.api.services.placeholder); + const pipConfiguration = new PointInPolygon(peliasConfig.api.services.pip); const pipService = serviceWrapper(pipConfiguration); const isPipServiceEnabled = _.constant(pipConfiguration.isEnabled());