fixes for csr 127.0.0.1 errors
This commit is contained in:
+3
-7
@@ -813,8 +813,7 @@ export const getMyRepresentations = (loggedInUserId) => {
|
|||||||
export const getMyRepresentationsProxy = (loggedInUserId) => {
|
export const getMyRepresentationsProxy = (loggedInUserId) => {
|
||||||
return axios
|
return axios
|
||||||
.get(
|
.get(
|
||||||
BASE_URL +
|
"/api/endpoint/getmyrepresentationsproxy_api?loggedInUserId=" +
|
||||||
"/api/endpoint/getmyrepresentationsproxy_api?loggedInUserId=" +
|
|
||||||
loggedInUserId
|
loggedInUserId
|
||||||
)
|
)
|
||||||
.then((res) => res.data)
|
.then((res) => res.data)
|
||||||
@@ -835,9 +834,7 @@ export const getRepresentations = (incidentID) => {
|
|||||||
export const getRepresentationsProxy = (incidentID) => {
|
export const getRepresentationsProxy = (incidentID) => {
|
||||||
return axios
|
return axios
|
||||||
.get(
|
.get(
|
||||||
BASE_URL +
|
"/api/endpoint/getrepresentationsproxy_api?incidentID=" + incidentID
|
||||||
"/api/endpoint/getrepresentationsproxy_api?incidentID=" +
|
|
||||||
incidentID
|
|
||||||
)
|
)
|
||||||
.then((res) => res.data)
|
.then((res) => res.data)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
@@ -873,8 +870,7 @@ export const getWatchedCasesProxy = (loggedInUserId) => {
|
|||||||
export const getAwaitingSubmissionProxy = (loggedInUserId) => {
|
export const getAwaitingSubmissionProxy = (loggedInUserId) => {
|
||||||
return axios
|
return axios
|
||||||
.get(
|
.get(
|
||||||
BASE_URL +
|
"/api/endpoint/getawaitingsubmissionproxy_api?loggedInUserId=" +
|
||||||
"/api/endpoint/getawaitingsubmissionproxy_api?loggedInUserId=" +
|
|
||||||
loggedInUserId
|
loggedInUserId
|
||||||
)
|
)
|
||||||
.then((res) => res.data)
|
.then((res) => res.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user