From f30c0b5d38248c98a9668e6e7eb3ec30e7943385 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 21 Jul 2017 01:38:44 +0100 Subject: PLT-6596: Elasticsearch interface changes. (#6993) --- app/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/post.go b/app/post.go index 7ad072943..447fef6bb 100644 --- a/app/post.go +++ b/app/post.go @@ -473,7 +473,7 @@ func DeletePost(postId string) (*model.Post, *model.AppError) { esInterface := einterfaces.GetElasticsearchInterface() if esInterface != nil && *utils.Cfg.ElasticSearchSettings.EnableIndexing { - go esInterface.DeletePost(post.Id) + go esInterface.DeletePost(post) } InvalidateCacheForChannelPosts(post.ChannelId) -- cgit v1.2.3-1-g7c22