Skip to content

Commit

Permalink
fix: custom emoji file upload with FileSystem method (#29795)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocostadev authored Jul 26, 2023
1 parent 8be25af commit 4ce8ea8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/custom-emoji-fs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

fix: custom emoji upload with FileSystem method
2 changes: 1 addition & 1 deletion apps/meteor/app/file/server/file.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class FileSystem implements IRocketChatFileStore {

async deleteFile(fileName: string) {
try {
return this.remove(fileName);
return await this.remove(fileName);
} catch (error1) {
//
}
Expand Down

0 comments on commit 4ce8ea8

Please sign in to comment.