|
@@ -98,7 +98,6 @@ module.exports = function(crowi) {
|
|
|
return res.redirect(signedUrl);
|
|
return res.redirect(signedUrl);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-
|
|
|
|
|
lib.deleteFile = async function(attachment) {
|
|
lib.deleteFile = async function(attachment) {
|
|
|
const filePath = getFilePathOnStorage(attachment);
|
|
const filePath = getFilePathOnStorage(attachment);
|
|
|
return lib.deleteFileByFilePath(filePath);
|
|
return lib.deleteFileByFilePath(filePath);
|