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:
parent
889459cbd0
commit
af91d2c9dd
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user