removed check on progress file
This commit is contained in:
@@ -27,25 +27,28 @@ ApiProxy.get(async (req, res) => {
|
|||||||
"&tempcaseref=" +
|
"&tempcaseref=" +
|
||||||
tempCaseRef;
|
tempCaseRef;
|
||||||
|
|
||||||
const blobProgress = await getProgressBlobs(
|
// const blobProgress = await getProgressBlobs(
|
||||||
containerName,
|
// containerName,
|
||||||
tempCaseRef
|
// tempCaseRef
|
||||||
).then((data) => {
|
// ).then((data) => {
|
||||||
return downloadProgressFile(containerName, data.path, tempCaseRef);
|
// return downloadProgressFile(containerName, data.path, tempCaseRef);
|
||||||
});
|
// });
|
||||||
|
|
||||||
Object.assign(blobProgress, {
|
// Object.assign(blobProgress, {
|
||||||
"appealComplete": true,
|
// "appealComplete": true,
|
||||||
});
|
// });
|
||||||
|
|
||||||
//http: if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
//http: if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||||
await createCaseCompleteMessage(containerName, tempCaseRef).then((data) => {
|
await createCaseCompleteMessage(containerName, tempCaseRef)
|
||||||
createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef);
|
.then((data) => {
|
||||||
return res.status(200).json(data);
|
//createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef);
|
||||||
});
|
return res.status(200).json(data);
|
||||||
// } else {
|
})
|
||||||
// return res.status(400).json();
|
.catch((error) => {
|
||||||
// }
|
//console.log(error);
|
||||||
|
|
||||||
|
return res.status(400).json(error);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user