From 05abb3901991c2883a79a7df3161c5f16f1b12b1 Mon Sep 17 00:00:00 2001 From: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:50:37 +0530 Subject: [PATCH] Revert ana ccidental change (#29325) --- server/channels/api4/post.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/channels/api4/post.go b/server/channels/api4/post.go index 98ac08acf8..8280877f5a 100644 --- a/server/channels/api4/post.go +++ b/server/channels/api4/post.go @@ -915,7 +915,7 @@ func patchPost(c *Context, w http.ResponseWriter, r *http.Request) { } // Updating the file_ids of a post is not a supported operation and will be ignored - //post.FileIds = nil + post.FileIds = nil originalPost, err := c.App.GetSinglePost(c.AppContext, c.Params.PostId, false) if err != nil {