diff --git a/app/javascript/mastodon/api/polls.ts b/app/javascript/mastodon/api/polls.ts index 07cebca735..cb659986f5 100644 --- a/app/javascript/mastodon/api/polls.ts +++ b/app/javascript/mastodon/api/polls.ts @@ -6,5 +6,5 @@ export const apiGetPoll = (pollId: string) => export const apiPollVote = (pollId: string, choices: string[]) => apiRequestPost(`/v1/polls/${pollId}/votes`, { - data: { choices }, + choices, });