core: fix "type" does not exist

This commit is contained in:
Abdullah Atta
2023-11-21 09:06:21 +05:00
parent ae3465a11a
commit dd42e8c443

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;