Merged PR 2351: fix csp by making it server side
Related work items: #23447
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user