summaryrefslogtreecommitdiffstats
path: root/app/plugin_api.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/plugin_api.go')
-rw-r--r--app/plugin_api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/plugin_api.go b/app/plugin_api.go
index b09a0c419..06eeee146 100644
--- a/app/plugin_api.go
+++ b/app/plugin_api.go
@@ -158,7 +158,7 @@ func (api *PluginAPI) CreatePost(post *model.Post) (*model.Post, *model.AppError
}
func (api *PluginAPI) DeletePost(postId string) *model.AppError {
- _, err := api.app.DeletePost(postId)
+ _, err := api.app.DeletePost(postId, api.id)
return err
}