summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index 3167395f1..8770fde38 100644
--- a/api/post.go
+++ b/api/post.go
@@ -193,7 +193,7 @@ func fireAndForgetWebhookEvent(c *Context, post *model.Post) {
}
teams := make(map[string]*model.Team)
- for _, _ = range isTeamBeingFetched {
+ for range isTeamBeingFetched {
team := <-tchan
if team != nil {
teams[team.Id] = team