TASK22269: extract touched azurestorage case object path helper

This commit is contained in:
2026-03-26 11:20:37 +00:00
parent 5c62f3088e
commit 48878e9ebd
2 changed files with 36 additions and 2 deletions
+6 -2
View File
@@ -84,6 +84,10 @@ const buildGetBlobListQueryPath = ({ containerName, casefolderID }) => {
);
};
const buildCaseObjectPath = (casefolderID) => {
return casefolderID + "/" + casefolderID + "_case.json";
};
const buildHashMetadataPaths = ({ containerName, casefolderID, blobname }) => {
return {
"hashedfilepath": hashAPIPath(
@@ -275,7 +279,7 @@ export const getBlobs = async (containerName, casefolderID) => {
"path": blob.name,
"documentType": getDocumentTypeFromFilename(fileName),
"versionId": blob.versionId,
"caseObj": casefolderID + "/" + casefolderID + "_case.json",
"caseObj": buildCaseObjectPath(casefolderID),
"isCurrentVersion": blob.isCurrentVersion,
"contentLength": blob.properties.contentLength,
"size": blob.properties.contentLength,
@@ -1297,7 +1301,7 @@ export const getProgressBlobs = async (containerName, caseReference) => {
"name": appealBlobName,
"path": blob.name,
"versionId": blob.versionId,
"caseObj": caseReference + "/" + caseReference + "_case.json",
"caseObj": buildCaseObjectPath(caseReference),
"isCurrentVersion": blob.isCurrentVersion,
"contentLength": blob.properties.contentLength,
"contentType": blob.contentType,