0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-06-30 22:18:36 -04:00

Don't duplicate parameters when paging

This commit is contained in:
Ivan Habunek 2025-01-16 12:56:13 +01:00
parent 889459cbd0
commit af91d2c9dd
No known key found for this signature in database
GPG Key ID: 01DB3DD0D824504C

View File

@ -72,7 +72,7 @@ def get_paged(app, user, path, params=None, headers=None):
path += f"?{urlencode(params)}"
while path:
response = get(app, user, path, params, headers)
response = get(app, user, path, headers=headers)
yield response
path = _next_path(response)