diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/post.go b/api4/post.go index b4392a74e..68c1967ff 100644 --- a/api4/post.go +++ b/api4/post.go @@ -264,7 +264,7 @@ func deletePost(c *Context, w http.ResponseWriter, r *http.Request) { } } - if _, err := c.App.DeletePost(c.Params.PostId); err != nil { + if _, err := c.App.DeletePost(c.Params.PostId, c.Session.UserId); err != nil { c.Err = err return } |