From 7f42e0e5a720dc160a9e34dd943760befffc40b9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 30 Jun 2026 14:44:25 +0300 Subject: [PATCH] cleanup --- src/api/user.js | 3 --- 1 file changed, 3 deletions(-) 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',