mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-03-27 05:40:45 -04:00
* 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 CodeClimate