summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go
index c2036ed81..349cbd5b6 100644
--- a/api/context.go
+++ b/api/context.go
@@ -469,7 +469,7 @@ func (c *Context) CheckTeamId() {
return
}
} else {
- // just return because it fail on the HasPermissionToContext and the error is already on the Context c.Err
+ // HasPermissionToContext automatically fills the Context error
return
}
}