diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:17:35 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:17:35 +0200 |
commit | f78298066fb676f84532caa2abc14b0970428acc (patch) | |
tree | 7fb0ba985a2dcc823522dddbd3cf33b4783a0492 /mastodon | |
parent | 1d5b308016b8762d255290add53f84dbd6f7d439 (diff) | |
download | mastodon.py-f78298066fb676f84532caa2abc14b0970428acc.tar.gz |
fix incorrectly sending id in formdata, causing an issue with pleroma (#267)
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 2 |
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"] |