diff --git a/api-functions.js b/api-functions.js index 893acd2..27cf486 100644 --- a/api-functions.js +++ b/api-functions.js @@ -30,7 +30,7 @@ const API = { params += `&max_id=${max_id}`; } if (geocode) { - params += `&geocode=${geocode}`; + params += `&geocode=${encodeURIComponent(geocode)}`; } allItems = [];