Skip to content

Commit

Permalink
fix deprecated syntax (pagesize into page_size)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrostr authored Aug 27, 2023
1 parent 645e07d commit 5c8432a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googlemaps/places.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def _places(
if region:
params["region"] = region
if page_token:
params["pagetoken"] = page_token
params["page_token"] = page_token

url = "/maps/api/place/%ssearch/json" % url_part
return client._request(url, params)
Expand Down

0 comments on commit 5c8432a

Please sign in to comment.