From f78298066fb676f84532caa2abc14b0970428acc Mon Sep 17 00:00:00 2001 From: halcy Date: Mon, 21 Nov 2022 22:17:35 +0200 Subject: fix incorrectly sending id in formdata, causing an issue with pleroma (#267) --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon/Mastodon.py') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 72eb727..2a70ce7 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -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"] -- cgit v1.2.3