refac
This commit is contained in:
1 parent
4b4583df62
commit
f7e85cd0bf
4 files changed
+99
-88
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user