From 97de1d0982ddb4818f5e41527f4d7da2234e829f Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 4 Apr 2017 15:17:47 -0400 Subject: Fix blanking out of FileIds and backwards compatability issue with v3 (#5950) --- api/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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 -- cgit v1.2.3-1-g7c22