1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

Disable image processing of attachments

This commit is contained in:
Andrew Kingston 2021-04-09 14:22:11 +01:00
parent b699573941
commit e76f40548b

View file

@ -53,10 +53,11 @@ exports.uploadFile = async function(ctx) {
const processedFileName = `${uuid.v4()}.${fileExtension}`
// need to handle image processing
await fileProcessor.process({
...file,
extension: fileExtension,
})
// TODO either offer this as an option, or don't do it at all
// await fileProcessor.process({
// ...file,
// extension: fileExtension,
// })
return prepareUpload({
file,