From e1104e0781d6e7bcab011ddd3c591b05ed3ae742 Mon Sep 17 00:00:00 2001 From: Hugo Costa Date: Wed, 12 Jul 2023 10:27:45 -0300 Subject: [PATCH 1/2] fix: :bug: fix custom emoji file upload with FileSystem method --- apps/meteor/app/file/server/file.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/file/server/file.server.ts b/apps/meteor/app/file/server/file.server.ts index ebd869e690b7..1c27c95ef741 100644 --- a/apps/meteor/app/file/server/file.server.ts +++ b/apps/meteor/app/file/server/file.server.ts @@ -195,7 +195,7 @@ class FileSystem implements IRocketChatFileStore { async deleteFile(fileName: string) { try { - return this.remove(fileName); + return await this.remove(fileName); } catch (error1) { // } From bab59868dd4039d3ae0729b0ca46a44668daaf41 Mon Sep 17 00:00:00 2001 From: Hugo Costa Date: Wed, 12 Jul 2023 10:41:18 -0300 Subject: [PATCH 2/2] Create custom-emoji-fs.md --- .changeset/custom-emoji-fs.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/custom-emoji-fs.md diff --git a/.changeset/custom-emoji-fs.md b/.changeset/custom-emoji-fs.md new file mode 100644 index 000000000000..a9a797f35bc8 --- /dev/null +++ b/.changeset/custom-emoji-fs.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/meteor": patch +--- + +fix: custom emoji upload with FileSystem method