From 42e04d92c47dd7226b7e28e396f8d8d6f36e053b Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 3 Jan 2017 09:53:59 -0500 Subject: Adding memcache to getchannel (#4928) --- api/authorization.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/authorization.go') diff --git a/api/authorization.go b/api/authorization.go index 8b3140b0f..e931c4b33 100644 --- a/api/authorization.go +++ b/api/authorization.go @@ -79,7 +79,7 @@ func HasPermissionToChannelContext(c *Context, channelId string, permission *mod } } - cc := Srv.Store.Channel().Get(channelId) + cc := Srv.Store.Channel().Get(channelId, true) if ccresult := <-cc; ccresult.Err == nil { channel := ccresult.Data.(*model.Channel) -- cgit v1.2.3-1-g7c22