mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +03:00
fix: Fix attachment file handling when S3 is enabled
This commit is contained in:
@@ -66,7 +66,7 @@ module.exports = {
|
||||
};
|
||||
|
||||
if (!['image/svg+xml', 'application/pdf'].includes(mimeType)) {
|
||||
let image = sharp(buffer || filePath, {
|
||||
let image = sharp(buffer || filePath || inputs.file.fd, {
|
||||
animated: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user