Skip to content

Commit ad81eb7

Browse files
committed
Encoding geocode param. Should fix #36
1 parent da89c46 commit ad81eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-functions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const API = {
3030
params += `&max_id=${max_id}`;
3131
}
3232
if (geocode) {
33-
params += `&geocode=${geocode}`;
33+
params += `&geocode=${encodeURIComponent(geocode)}`;
3434
}
3535

3636
allItems = [];

0 commit comments

Comments
 (0)