diff --git a/src/io/import/processors/updateFileMimeType.ts b/src/io/import/processors/updateFileMimeType.ts index b805df8c..a7f92c6a 100644 --- a/src/io/import/processors/updateFileMimeType.ts +++ b/src/io/import/processors/updateFileMimeType.ts @@ -8,7 +8,7 @@ import { ImportHandler } from '@/src/io/import/common'; const updateFileMimeType: ImportHandler = async (dataSource) => { let src = dataSource; const { fileSrc } = src; - if (fileSrc && fileSrc.fileType === '') { + if (fileSrc) { const mime = await getFileMimeType(fileSrc.file); if (mime) { src = {