Skip to content

Commit

Permalink
Encoding geocode param. Should fix #36
Browse files Browse the repository at this point in the history
  • Loading branch information
raulrene committed Mar 27, 2018
1 parent da89c46 commit ad81eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const API = {
params += `&max_id=${max_id}`;
}
if (geocode) {
params += `&geocode=${geocode}`;
params += `&geocode=${encodeURIComponent(geocode)}`;
}

allItems = [];
Expand Down

0 comments on commit ad81eb7

Please sign in to comment.