Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: custom emoji file upload with FileSystem method #29795

Merged
merged 10 commits into from
Jul 26, 2023
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
hugocostadev marked this conversation as resolved.
Show resolved Hide resolved
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