Skip to content

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

core: fix "type" does not exist

Abdullah Atta6c9e265a11f8
diff --git a/packages/editor/src/utils/downloader.ts b/packages/editor/src/utils/downloader.ts
index cfd307e11..3c237f91d 100644
--- a/packages/editor/src/utils/downloader.ts
+++ b/packages/editor/src/utils/downloader.ts
@@ -138,7 +138,7 @@ export function toBlobURL(
}
const objectURL = URL.createObjectURL(
- new Blob([Buffer.from(data, "base64")], { type: mime })
+ new Blob([Buffer.from(data, "base64")], { type: mimeType })
);
if (id) OBJECT_URL_CACHE[id] = objectURL;