fix incorrectly sending id in formdata, causing an issue with pleroma (#267)

This commit is contained in:
halcy 2022-11-21 22:17:35 +02:00
parent 1d5b308016
commit f78298066f

View File

@ -2241,7 +2241,7 @@ class Mastodon:
Returns a `relationship dict`_ containing the updated relationship to the user.
"""
id = self.__unpack_id(id)
params = self.__generate_params(locals())
params = self.__generate_params(locals(), ["id"])
if params["reblogs"] is None:
del params["reblogs"]