mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
feat: Track storage usage
This commit is contained in:
@@ -62,7 +62,7 @@ module.exports = {
|
||||
|
||||
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