diff options
Diffstat (limited to 'modules/middleware/org.go')
-rw-r--r-- | modules/middleware/org.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/org.go b/modules/middleware/org.go index e62e0b0b01..eec2b556fd 100644 --- a/modules/middleware/org.go +++ b/modules/middleware/org.go @@ -90,7 +90,7 @@ func HandleOrgAssignment(ctx *Context, args ...bool) { if ctx.Org.IsMember { if ctx.Org.IsOwner { if err := org.GetTeams(); err != nil { - ctx.Handle(500, "GetUserTeams", err) + ctx.Handle(500, "GetTeams", err) return } } else { |