Fix voting on polls (#33266)

pull/33277/head
Renaud Chaput 3 months ago committed by GitHub
parent a4560d9278
commit da279df8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,5 +6,5 @@ export const apiGetPoll = (pollId: string) =>
export const apiPollVote = (pollId: string, choices: string[]) =>
apiRequestPost<ApiPollJSON>(`/v1/polls/${pollId}/votes`, {
data: { choices },
choices,
});

Loading…
Cancel
Save