fix: use postpoll number[] always
This commit is contained in:
1 file changed
+1
-1
@@ -60,7 +60,7 @@
|
|||||||
} else {
|
} else {
|
||||||
await api.voteOnPoll({
|
await api.voteOnPoll({
|
||||||
post_id: post.id,
|
post_id: post.id,
|
||||||
choice_id: id,
|
choice_id: [id],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in new issue
Block a user