Skip to content

Commit

Permalink
fix: ammend deprecated syntax (pagesize into page_size)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrostr committed Nov 5, 2023
1 parent 645e07d commit dfa1866
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 dfa1866

Please sign in to comment.