kopia lustrzana https://github.com/halcy/Mastodon.py
fix incorrectly sending id in formdata, causing an issue with pleroma (#267)
rodzic
1d5b308016
commit
f78298066f
|
@ -2241,7 +2241,7 @@ class Mastodon:
|
||||||
Returns a `relationship dict`_ containing the updated relationship to the user.
|
Returns a `relationship dict`_ containing the updated relationship to the user.
|
||||||
"""
|
"""
|
||||||
id = self.__unpack_id(id)
|
id = self.__unpack_id(id)
|
||||||
params = self.__generate_params(locals())
|
params = self.__generate_params(locals(), ["id"])
|
||||||
|
|
||||||
if params["reblogs"] is None:
|
if params["reblogs"] is None:
|
||||||
del params["reblogs"]
|
del params["reblogs"]
|
||||||
|
|
Ładowanie…
Reference in New Issue