csp fix remove unneccessary params

This commit is contained in:
2026-05-28 11:00:23 +01:00
parent 24cd7000f7
commit 64dc4e78d2
+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);