mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 12:14:27 +02:00
#1692 add organization APIs
This commit is contained in:
1 parent
6673dcb038
commit
9cd16c5b12
20 files changed
+204
-55
No files matched your search
@@ -44,7 +44,7 @@ func getDashboardContextUser(ctx *middleware.Context) *models.User {
|
||||
}
|
||||
ctx.Data["ContextUser"] = ctxUser
|
||||
|
||||
if err := ctx.User.GetOrganizations(); err != nil {
|
||||
if err := ctx.User.GetOrganizations(true); err != nil {
|
||||
ctx.Handle(500, "GetOrganizations", err)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user