fix(security): retire legacy direct CRM case creation endpoint

This commit is contained in:
2026-11-05 16:37:10 +00:00
parent 93bf7e174f
commit 9b0cb9adc8
6 changed files with 6 additions and 303 deletions
-29
View File
@@ -76,35 +76,6 @@ export const getAppealID = (
});
};
export const createNewCase = (
appealTypeId,
lpaID,
contactid,
createBody,
containerName
) => {
appealTypeId = parseInt(appealTypeId);
var data = createBody;
var queryUrl = buildFileQuery("/api/endpoint/createcase_api", {
appealTypeId,
lpaID,
contactid,
containername: containerName
});
var config = {
method: "post",
url: withBaseUrl(BASE_URL, queryUrl),
data: data
};
return requestJson(config).catch((error) => {
consoleLogger(error);
});
};
export const createNewCaseBlob = (
appealTypeId,
lpaID,
-2
View File
@@ -4,7 +4,6 @@ import {
getSIPSEvents,
getSIPSMedia,
getAppealID,
createNewCase,
createNewCaseBlob,
updateCase,
updateCaseBlob,
@@ -26,7 +25,6 @@ export {
getSIPSEvents,
getSIPSMedia,
getAppealID,
createNewCase,
createNewCaseBlob,
updateCase,
updateCaseBlob,