Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 05:46:09 +01: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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
main_test.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
mirror.go Fix SyncOnCommit always return false in API of push_mirrors (#23088) (#23100) 2023-02-24 14:36:25 +08:00
notification.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
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 Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
utils_test.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
wiki.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00