Align getrepsblob guard with route contract and fix quill utils import

This commit is contained in:
2026-03-13 14:12:36 +00:00
parent 6094874851
commit b8fa514e3b
2 changed files with 6 additions and 4 deletions
+5 -1
View File
@@ -20,7 +20,11 @@ import fieldLookup from "../../data/crmfieldlookuptranslations.json";
import pickListLookup from "../../data/picklistLookups.json";
import dynamic from "next/dynamic";
import { bytesToSize, getThumbnailIconByExtension } from "../utils";
import {
bytesToSize,
getThumbnailIconByExtension,
updateLinks
} from "../utils";
import { setFileCount } from "../../store/appealType/action";
import {
+1 -3
View File
@@ -51,8 +51,6 @@ ApiProxy.get(async (req, res) => {
if (
typeof containerName === "undefined" ||
containerName.length === 0 ||
typeof casefolderID === "undefined" ||
casefolderID.length === 0 ||
typeof checkHash === "undefined" ||
checkHash.length === 0
) {
@@ -66,7 +64,7 @@ ApiProxy.get(async (req, res) => {
}
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
const blobObj = await getRepsBlobs(containerName, casefolderID)
const blobObj = await getRepsBlobs(containerName)
.then(async (data) => {
return data;
})