Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: remove async from sendAttachmentsProgressEvent

thecodrr21d5ca3cc29f
diff --git a/packages/core/common.js b/packages/core/common.js
index abdc554a0..29009739f 100644
--- a/packages/core/common.js
+++ b/packages/core/common.js
@@ -10,7 +10,7 @@ export async function sendCheckUserStatusEvent(type) {
return results.some((r) => r.type === type && r.result === true);
}
-export async function sendAttachmentsProgressEvent(type, total, current) {
+export function sendAttachmentsProgressEvent(type, total, current) {
EV.publish(EVENTS.attachmentsLoading, {
type,
total,