Skip to content

Commit 5c8432a

Browse files
authored
fix deprecated syntax (pagesize into page_size)
1 parent 645e07d commit 5c8432a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googlemaps/places.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def _places(
419419
if region:
420420
params["region"] = region
421421
if page_token:
422-
params["pagetoken"] = page_token
422+
params["page_token"] = page_token
423423

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

0 commit comments

Comments
 (0)