From 75f8729e2d25467500778e633c45c97e78a8f7a0 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 20 Jan 2016 12:43:44 -0600 Subject: PLT-7 adding loc db calls for users table --- api/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/command.go') diff --git a/api/command.go b/api/command.go index 5db7e0d13..e041797a6 100644 --- a/api/command.go +++ b/api/command.go @@ -544,7 +544,7 @@ func loadTestPostsCommand(c *Context, command *model.Command) bool { } var usernames []string - if result := <-Srv.Store.User().GetProfiles(c.Session.TeamId); result.Err == nil { + if result := <-Srv.Store.User().GetProfiles(c.T, c.Session.TeamId); result.Err == nil { profileUsers := result.Data.(map[string]*model.User) usernames = make([]string, len(profileUsers)) i := 0 -- cgit v1.2.3-1-g7c22