This commit is contained in:
Timothy Jaeryang Baek
2025-09-09 18:31:06 +04:00
parent 4b4583df62
commit f7e85cd0bf
4 changed files with 99 additions and 88 deletions
+1 -5
View File
@@ -544,11 +544,7 @@ ${content}
}
};
reader.readAsDataURL(
file['type'] === 'image/heic'
? await convertHeicToJpeg(file)
: file
);
reader.readAsDataURL(file['type'] === 'image/heic' ? await convertHeicToJpeg(file) : file);
});
return await uploadImagePromise;