mirror of https://github.com/mastodon/mastodon
Fix invalid votes from the API being accepted (#12601)
* Fix invalid votes from the API being accepted Fixes #12556 - Ensure `choice` is an integer instead of silently converting to 0 - Ensure `choice` corresponds to an actual choice of the poll * Please CodeClimatepull/12780/head
parent
7da54001fe
commit
d386d89179
Loading…
Reference in New Issue