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/context.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/context.go')
-rw-r--r-- | api/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go index fdca52085..13f0f2c42 100644 --- a/api/context.go +++ b/api/context.go @@ -387,7 +387,7 @@ func (c *Context) setTeamURL(url string, valid bool) { } func (c *Context) SetTeamURLFromSession() { - if result := <-Srv.Store.Team().Get(c.Session.TeamId); result.Err == nil { + if result := <-Srv.Store.Team().Get(c.T, c.Session.TeamId); result.Err == nil { c.setTeamURL(c.GetSiteURL()+"/"+result.Data.(*model.Team).Name, true) } } |