From 6097e3f02b6e5b2d9e320f0e1b8baa59c9a06af7 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 6 Oct 2017 09:18:26 -0700 Subject: fix GetPostsByIds error (#7591) --- store/sqlstore/post_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store/sqlstore') diff --git a/store/sqlstore/post_store.go b/store/sqlstore/post_store.go index e6311a5a0..53af44ca1 100644 --- a/store/sqlstore/post_store.go +++ b/store/sqlstore/post_store.go @@ -1068,7 +1068,7 @@ func (s SqlPostStore) GetPostsByIds(postIds []string) store.StoreChannel { if err != nil { l4g.Error(err) - result.Err = model.NewAppError("SqlPostStore.GetPostsCreatedAt", "store.sql_post.get_posts_by_ids.app_error", nil, "", http.StatusInternalServerError) + result.Err = model.NewAppError("SqlPostStore.GetPostsByIds", "store.sql_post.get_posts_by_ids.app_error", nil, "", http.StatusInternalServerError) } else { result.Data = posts } -- cgit v1.2.3-1-g7c22