mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-25 11:39:43 +08:00
d9de58beee
There is an unfortunate signature change with the api.Context NotFound function; whereas the normal modules/context/Context NotFound function requires an error or nil, the api.Context variant will panic with an NPE if a nil is provided. This PR will allow api.Context.NotFound to tolerate a being passed a nil. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
api_org.go | ||
api_test.go | ||
api.go | ||
auth.go | ||
context.go | ||
org.go | ||
pagination.go | ||
panic.go | ||
permission.go | ||
repo.go |