- Galleria imamgini e PDF

This commit is contained in:
Paolo Arena
2019-12-28 02:16:29 +01:00
parent e62cc62d88
commit 523edf557b
2 changed files with 41 additions and 2 deletions

View File

@@ -561,4 +561,16 @@ module.exports = {
}
},
};
delete(path, callback) {
fs.unlink(path, function (err) {
if (err) {
console.error(err);
callback(err);
return
}
callback();
});
}
};