mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02: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