Feature/Excel and PPT File Uploads (#4896)

Enhance file upload capabilities by adding support for additional file types (html, css, js, xml, md, excel, powerpoint) and updating related MIME type mappings. Improve user interface for file type selection in FileUpload component.
This commit is contained in:
Henry Heng
2025-07-18 19:08:02 +01:00
committed by GitHub
parent 2b7a074c8b
commit fbe9f34a60
4 changed files with 89 additions and 32 deletions
@@ -172,7 +172,7 @@ export const createFileAttachment = async (req: Request) => {
content
})
} catch (error) {
throw new Error(`Failed operation: createFileAttachment - ${getErrorMessage(error)}`)
throw new Error(`Failed createFileAttachment: ${file.originalname} (${file.mimetype} - ${getErrorMessage(error)}`)
}
}
}