Disable image processing of attachments
This commit is contained in:
parent
00d47905a8
commit
4e214f4e87
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue