[mastodon] reset 'params' after first pagination iteration
otherwise query parameters in 'params' get specified twice the second time around - once from the 'links["next"]' URL and once from 'params' itself.
This commit is contained in:
@@ -208,6 +208,7 @@ class MastodonAPI():
|
|||||||
if not url:
|
if not url:
|
||||||
return
|
return
|
||||||
url = url["url"]
|
url = url["url"]
|
||||||
|
params = None
|
||||||
|
|
||||||
|
|
||||||
@cache(maxage=100*365*24*3600, keyarg=0)
|
@cache(maxage=100*365*24*3600, keyarg=0)
|
||||||
|
|||||||
Reference in New Issue
Block a user