Disable image processing of attachments

This commit is contained in:
Andrew Kingston 2021-04-09 14:22:11 +01:00
parent 00d47905a8
commit 4e214f4e87
1 changed files with 5 additions and 4 deletions

View File

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