aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-21 22:17:35 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-21 22:17:35 +0200
commitf78298066fb676f84532caa2abc14b0970428acc (patch)
tree7fb0ba985a2dcc823522dddbd3cf33b4783a0492
parent1d5b308016b8762d255290add53f84dbd6f7d439 (diff)
downloadmastodon.py-f78298066fb676f84532caa2abc14b0970428acc.tar.gz
fix incorrectly sending id in formdata, causing an issue with pleroma (#267)
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
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:
2241 Returns a `relationship dict`_ containing the updated relationship to the user. 2241 Returns a `relationship dict`_ containing the updated relationship to the user.
2242 """ 2242 """
2243 id = self.__unpack_id(id) 2243 id = self.__unpack_id(id)
2244 params = self.__generate_params(locals()) 2244 params = self.__generate_params(locals(), ["id"])
2245 2245
2246 if params["reblogs"] is None: 2246 if params["reblogs"] is None:
2247 del params["reblogs"] 2247 del params["reblogs"]
Powered by cgit v1.2.3 (git 2.41.0)