Skip to content

Commit

Permalink
fix incorrectly sending id in formdata, causing an issue with pleroma (
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy authored and halcy committed Nov 21, 2022
1 parent 1d5b308 commit f782980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/Mastodon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2241,7 +2241,7 @@ def account_follow(self, id, reblogs=True, notify=False):
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"]
Expand Down

0 comments on commit f782980

Please sign in to comment.