diff --git a/src/api/user.js b/src/api/user.js index b9035da77..17e13195d 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -181,9 +181,6 @@ export const unmuteConversation = ({ id, credentials }) => }).then(({ data, ...rest }) => ({ ...rest, data: parseStatus(data) })) export const vote = ({ pollId, choices, credentials }) => { - const form = new FormData() - form.append('choices', choices) - return promisedRequest({ url: MASTODON_VOTE_URL(encodeURIComponent(pollId)), method: 'POST',