Align getrepsblob guard with route contract and fix quill utils import
This commit is contained in:
@@ -20,7 +20,11 @@ import fieldLookup from "../../data/crmfieldlookuptranslations.json";
|
|||||||
import pickListLookup from "../../data/picklistLookups.json";
|
import pickListLookup from "../../data/picklistLookups.json";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
import { bytesToSize, getThumbnailIconByExtension } from "../utils";
|
import {
|
||||||
|
bytesToSize,
|
||||||
|
getThumbnailIconByExtension,
|
||||||
|
updateLinks
|
||||||
|
} from "../utils";
|
||||||
import { setFileCount } from "../../store/appealType/action";
|
import { setFileCount } from "../../store/appealType/action";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -51,8 +51,6 @@ ApiProxy.get(async (req, res) => {
|
|||||||
if (
|
if (
|
||||||
typeof containerName === "undefined" ||
|
typeof containerName === "undefined" ||
|
||||||
containerName.length === 0 ||
|
containerName.length === 0 ||
|
||||||
typeof casefolderID === "undefined" ||
|
|
||||||
casefolderID.length === 0 ||
|
|
||||||
typeof checkHash === "undefined" ||
|
typeof checkHash === "undefined" ||
|
||||||
checkHash.length === 0
|
checkHash.length === 0
|
||||||
) {
|
) {
|
||||||
@@ -66,7 +64,7 @@ ApiProxy.get(async (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||||
const blobObj = await getRepsBlobs(containerName, casefolderID)
|
const blobObj = await getRepsBlobs(containerName)
|
||||||
.then(async (data) => {
|
.then(async (data) => {
|
||||||
return data;
|
return data;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user