diff --git a/routes/v1.js b/routes/v1.js index 197563b8..ad42f4ab 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -207,6 +207,9 @@ function addRoutes(app, peliasConfig) { isAddressItParse ); + // get language adjustments if: + // - there's a response + // - theres's a lang parameter in req.clean const changeLanguageShouldExecute = all( hasResponseData, not(hasRequestErrors),