0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 09:54:15 -05:00
forgejo/routers/api/v1/user
wxiaoguang 7a550b3af2
Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2022-03-22 16:22:54 +01:00
..
app.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
email.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
follower.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
gpg_key.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
helper.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
key.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
repo.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
settings.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
star.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
user.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
watch.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00