1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-30 09:41:11 -05:00
forgejo/routers/api/v1/admin
JakobDev 76659b1114
Reduce usage of db.DefaultContext (#27073)
Part of #27065

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-14 17:09:32 +00:00
..
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
email.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
hooks.go Return 404 in the API if the requested webhooks were not found (#24823) 2023-05-21 10:54:28 +08:00
org.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
repo.go Handle missing README in create repos API (#23387) 2023-03-13 16:55:30 -05:00
user.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00