summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index 27efcd44c..bfc68a0d0 100644
--- a/api/post.go
+++ b/api/post.go
@@ -84,7 +84,7 @@ func updatePost(c *Context, w http.ResponseWriter, r *http.Request) {
post.UserId = c.Session.UserId
- rpost, err := app.UpdatePost(post)
+ rpost, err := app.UpdatePost(post, true)
if err != nil {
c.Err = err
return