summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-01 15:35:39 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-19 09:00:30 -0400
commit5bb22ed4541cf0e5ea246ebdc89243239afa66ea (patch)
tree28bab3c038c548ce05cbdc933dd4a40153a52ff4 /api/post.go
parenta91956e18006fcf2b6ff7025ab9b6920ce45bf7a (diff)
downloadchat-5bb22ed4541cf0e5ea246ebdc89243239afa66ea.tar.gz
chat-5bb22ed4541cf0e5ea246ebdc89243239afa66ea.tar.bz2
chat-5bb22ed4541cf0e5ea246ebdc89243239afa66ea.zip
Fix minor style for gofmt.
Diffstat (limited to 'api/post.go')
-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