diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-20 08:33:26 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-20 08:33:26 -0600 |
commit | 5b2ec623473abeb44577fbfc9122b792a94a5184 (patch) | |
tree | e79a434a7fe9e91f2f7b6a3a0fc4d90cf470c306 /api/post.go | |
parent | ca33812cb5b83dba0babc244fdf101c78abc046a (diff) | |
download | chat-5b2ec623473abeb44577fbfc9122b792a94a5184.tar.gz chat-5b2ec623473abeb44577fbfc9122b792a94a5184.tar.bz2 chat-5b2ec623473abeb44577fbfc9122b792a94a5184.zip |
PLT-7 adding loc db calls for team table
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go index a662cc147..87678e9c6 100644 --- a/api/post.go +++ b/api/post.go @@ -205,7 +205,7 @@ func CreateWebhookPost(c *Context, channelId, text, overrideUsername, overrideIc func handlePostEventsAndForget(c *Context, post *model.Post, triggerWebhooks bool) { go func() { - tchan := Srv.Store.Team().Get(c.Session.TeamId) + tchan := Srv.Store.Team().Get(c.T, c.Session.TeamId) cchan := Srv.Store.Channel().Get(post.ChannelId) uchan := Srv.Store.User().Get(post.UserId) |