PLT-6596: Elasticsearch interface changes. (#6993)
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
58839cefb5
Коммит
f30c0b5d38
@@ -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)
|
||||
|
||||
Ссылка в новой задаче
Block a user