pelias / placeholder

stand-alone coarse geocoder
https://placeholder.demo.geocode.earth
MIT License
313 stars 35 forks source link

feat(findbyid): add type check for lang HTTP param #133

Closed missinglink closed 6 years ago

missinglink commented 6 years ago

adding this because it's possible to have express interpret the input param ?lang=string as an Array using the URL scheme ?lang[]=element1&lang[]=element2.

added a link to the PR for controlling the language code.

orangejulius commented 6 years ago

Ah yes, I recall long ago when we had to do this for the API