summaryrefslogtreecommitdiffstats
path: root/api4/channel.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-30 11:57:24 -0500
committerGitHub <noreply@github.com>2017-10-30 11:57:24 -0500
commitc5e8cb25caa39ed018ede5270e1566e8f7448396 (patch)
tree80f9f8957d4ff8458ecf9631135c916df25544bd /api4/channel.go
parent63df41b91110bac06baffef87fe0c1952b47ac93 (diff)
downloadchat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.gz
chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.bz2
chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.zip
simplify things (#7735)
Diffstat (limited to 'api4/channel.go')
-rw-r--r--api4/channel.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api4/channel.go b/api4/channel.go
index 84d64b1a9..5a3920a0a 100644
--- a/api4/channel.go
+++ b/api4/channel.go
@@ -322,7 +322,6 @@ func getChannel(c *Context, w http.ResponseWriter, r *http.Request) {
}
w.Write([]byte(channel.ToJson()))
- return
}
func getChannelUnread(c *Context, w http.ResponseWriter, r *http.Request) {
@@ -601,7 +600,6 @@ func getChannelByNameForTeamName(c *Context, w http.ResponseWriter, r *http.Requ
}
w.Write([]byte(channel.ToJson()))
- return
}
func getChannelMembers(c *Context, w http.ResponseWriter, r *http.Request) {