Skip to content

Commit

Permalink
fix(location search): fix Photon filtered search typo. ref #808
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 21, 2024
1 parent b9aa404 commit 3992290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default {
openstreetmapPhotonSearch(q, restrictToShop=true) {
let url = `${constants.OSM_PHOTON_SEARCH_URL}?q=${q}&limit=${LOCATION_SEARCH_LIMIT}`
if (restrictToShop) {
url += '&osm_key=shop&osm_tag=amenity'
url += '&osm_tag=shop&osm_tag=amenity'
}
return fetch(url, {
method: 'GET',
Expand Down

0 comments on commit 3992290

Please sign in to comment.