Merged PR 2351: fix csp by making it server side

Related work items: #23447
This commit is contained in:
Robert Bond
2026-05-28 10:41:11 +00:00
parent 24cd7000f7
commit 3f2b8807e7
5 changed files with 34 additions and 35 deletions
+1 -4
View File
@@ -276,10 +276,7 @@ export const getPortalModuleDetailsProxy = (appealType, caseReference) => {
};
export const getCaseStatus = async (appealType, caseReference) => {
const route = buildFileQuery("/api/endpoint/getStatusCounts_api", {
appealType,
caseReference: encodeURI(caseReference)
});
const route = buildFileQuery("/api/endpoint/getStatusCounts_api", {});
return getJson(withBaseUrl(BASE_URL, route)).catch((error) => {
consoleLogger(error);