From 10a507ada6d83ce8ae0c06b01de1759e46368a86 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 12 Dec 2024 14:19:57 +0000 Subject: [PATCH] fixes for csr 127.0.0.1 errors --- actions/index.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/actions/index.js b/actions/index.js index dea4c2a2..2513ca08 100644 --- a/actions/index.js +++ b/actions/index.js @@ -813,8 +813,7 @@ export const getMyRepresentations = (loggedInUserId) => { export const getMyRepresentationsProxy = (loggedInUserId) => { return axios .get( - BASE_URL + - "/api/endpoint/getmyrepresentationsproxy_api?loggedInUserId=" + + "/api/endpoint/getmyrepresentationsproxy_api?loggedInUserId=" + loggedInUserId ) .then((res) => res.data) @@ -835,9 +834,7 @@ export const getRepresentations = (incidentID) => { export const getRepresentationsProxy = (incidentID) => { return axios .get( - BASE_URL + - "/api/endpoint/getrepresentationsproxy_api?incidentID=" + - incidentID + "/api/endpoint/getrepresentationsproxy_api?incidentID=" + incidentID ) .then((res) => res.data) .catch((error) => { @@ -873,8 +870,7 @@ export const getWatchedCasesProxy = (loggedInUserId) => { export const getAwaitingSubmissionProxy = (loggedInUserId) => { return axios .get( - BASE_URL + - "/api/endpoint/getawaitingsubmissionproxy_api?loggedInUserId=" + + "/api/endpoint/getawaitingsubmissionproxy_api?loggedInUserId=" + loggedInUserId ) .then((res) => res.data)