mirror of
https://github.com/go-gitea/gitea
synced 2025-01-20 14:44:27 +00:00
1f09051f2b
Fix: #22990 --- Before, the return value of the api is always false,regrardless of whether the entry of `sync_on_commit` is true or false. I have confirmed that the value of `sync_on_commit` dropped into the database is correct. So, I think it is enough to make some small changes.