getting the progress from blob storage
This commit is contained in:
@@ -1154,3 +1154,21 @@ export const downloadBlob = (containerName, blobName) => {
|
||||
console.log("this serror", error);
|
||||
});
|
||||
};
|
||||
|
||||
export const getProgressFromBlob = async (containerName) => {
|
||||
console.log("cont:", containerName);
|
||||
try {
|
||||
const res = await axios.get(
|
||||
BASE_URL +
|
||||
"/api/file/getprogressobjblob?container=" +
|
||||
containerName.toLowerCase() +
|
||||
hashAPIPath(
|
||||
"/api/file/getprogressobjblob?container=" +
|
||||
containerName.toLowerCase()
|
||||
)
|
||||
);
|
||||
return res.data;
|
||||
} catch (error) {
|
||||
console.log("this serror", error);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user