Browse Source

add comments

pull/936/head
Stephen Hess 8 years ago
parent
commit
2d71422be9
  1. 3
      routes/v1.js

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

Loading…
Cancel
Save