mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 09:13:20 +03:00
feat: Track storage usage
This commit is contained in:
@@ -91,7 +91,7 @@ module.exports = {
|
||||
if (inputs.type === Attachment.Types.FILE) {
|
||||
let files;
|
||||
try {
|
||||
files = await sails.helpers.utils.receiveFile('file', this.req);
|
||||
files = await sails.helpers.utils.receiveFile(this.req.file('file'));
|
||||
} catch (error) {
|
||||
return exits.uploadError(error.message); // TODO: add error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user