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)