Fixed webp upload on web (#460)

This commit is contained in:
Alex 2022-08-12 21:52:30 -05:00 committed by GitHub
parent 4b34f017ca
commit a388c5a642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 142 additions and 140 deletions

View file

@ -63,7 +63,7 @@ async function fileUploader(asset: File, uploadType: UploadType) {
let exifData = null;
if (assetType !== 'VIDEO') {
exifData = await exifr.parse(asset);
exifData = await exifr.parse(asset).catch((e) => console.log('error parsing exif', e));
}
const createdAt =