forked from NYANDEV/forgejo
parent
7b18c67ac9
commit
46637b1164
6 changed files with 20 additions and 0 deletions
|
@ -288,6 +288,7 @@ func APIContexter() func(http.Handler) http.Handler {
|
|||
},
|
||||
Org: &APIOrganization{},
|
||||
}
|
||||
defer ctx.Close()
|
||||
|
||||
ctx.Req = WithAPIContext(WithContext(req, ctx.Context), &ctx)
|
||||
ctx.csrf = Csrfer(csrfOpts, ctx.Context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue