core: fix "type" does not exist

This commit is contained in:
Abdullah Atta
2023-11-21 09:06:21 +05:00
parent 0d7973a34c
commit 30a127d2da

View File

@@ -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;