From 9cd16c5b12d093dd694e146d6c845ee4c405c774 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 17 Dec 2015 02:28:47 -0500 Subject: #1692 add organization APIs --- routers/user/home.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/user') diff --git a/routers/user/home.go b/routers/user/home.go index 8b25d799f1..cd1d0fac5c 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -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 } -- cgit v1.2.3