sendemail function for gov notify

This commit is contained in:
2022-11-17 13:16:57 +00:00
parent b0a9b721a3
commit 6fe3fc51a6
9 changed files with 100 additions and 54 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ ApiProxy.get(async (req, res) => {
res.setHeader(
"content-disposition",
"attachment; filename=" + decodeURI(blobName)
"attachment; filename=" +
decodeURI(blobName.slice(blobName.indexOf("_") + 1))
);
return res.status(200).send(downloaded);
} else {
+1
View File
@@ -26,6 +26,7 @@ ApiProxy.get(async (req, res) => {
//if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
const blobObj = await getProgressBlobs(containerName, casefolderID)
.then((data) => {
console.log("ertyuikjhgfg", data.path);
return downloadProgressFile(containerName, data.path, casefolderID);
})
.then((data) => {