mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-03 14:08:50 +03:00

Push mirrors `sync_on_commit` option was added to the web interface in v1.18.0. However, it's not added to the API. This PR updates the API endpoint. Fixes #22267 Also, I think this should be backported to 1.18