Fix voting on polls (#33266)
This commit is contained in:
1 parent
a4560d9278
commit
da279df8ae
1 file changed
+1
-1
@@ -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,
|
||||
});
|
||||
Reference in new issue
Block a user