Skip to content

Commit

Permalink
Merge branch 'master' of github.com:halcy/Mastodon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy authored and halcy committed Jun 2, 2023
2 parents b9fcb43 + 48b2982 commit 319bcfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/polls.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def poll_vote(self, id, choices):
choices = [choices]
params = self.__generate_params(locals(), ['id'])

self.__api_request('POST', f'/api/v1/polls/{id}/votes', params)
return self.__api_request('POST', f'/api/v1/polls/{id}/votes', params)

def make_poll(self, options, expires_in, multiple=False, hide_totals=False):
"""
Expand Down

0 comments on commit 319bcfe

Please sign in to comment.