mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-04 23:44:43 +02:00
Backport #32204
This commit is contained in:
1 parent
4815c4aeae
commit
56051d9b3b
11 files changed
+178
-57
No files matched your search
@@ -35,9 +35,10 @@ type APIContext struct {
|
||||
|
||||
ContextUser *user_model.User // the user which is being visited, in most cases it differs from Doer
|
||||
|
||||
Repo *Repository
|
||||
Org *APIOrganization
|
||||
Package *Package
|
||||
Repo *Repository
|
||||
Org *APIOrganization
|
||||
Package *Package
|
||||
PublicOnly bool // Whether the request is for a public endpoint
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in new issue
Block a user