diff options
Diffstat (limited to 'modules/context')
-rw-r--r-- | modules/context/org.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/context/org.go b/modules/context/org.go index f8fbf0c792..24ef5ef6a8 100644 --- a/modules/context/org.go +++ b/modules/context/org.go @@ -105,7 +105,8 @@ func HandleOrgAssignment(ctx *Context, args ...bool) { return } } else { - if err := org.GetUserTeams(ctx.User.ID); err != nil { + org.Teams, err = org.GetUserTeams(ctx.User.ID) + if err != nil { ctx.Handle(500, "GetUserTeams", err) return } |