fix incorrectly sending id in formdata, causing an issue with pleroma (#267)
This commit is contained in:
parent
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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user