0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/services/convert
Yarden Shoham 4d3e2b23b8
Fix SyncOnCommit always return false in API of push_mirrors (#23088) (#23100)
Backport #23088

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.

Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-24 14:36:25 +08:00
..
attachment.go
convert.go Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
git_commit.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
git_commit_test.go
issue.go Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
issue_comment.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
issue_test.go
main_test.go
mirror.go Fix SyncOnCommit always return false in API of push_mirrors (#23088) (#23100) 2023-02-24 14:36:25 +08:00
notification.go
package.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
pull.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
pull_review.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
pull_test.go
release.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
repository.go Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
status.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
user.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
user_test.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
utils.go
utils_test.go
wiki.go