console log cleanup
This commit is contained in:
+59
-7
@@ -770,11 +770,11 @@ export const getAwaitingSubmission = (loggedInUserId) => {
|
||||
};
|
||||
|
||||
export const getAwaitingSubmissionFromBlob = (containerName) => {
|
||||
console.log(
|
||||
"///////////////////////\ngetAwaitingSubmissionFromBlob: " +
|
||||
containerName +
|
||||
"\n///////////////////////\n"
|
||||
);
|
||||
// console.log(
|
||||
// "///////////////////////\ngetAwaitingSubmissionFromBlob: " +
|
||||
// containerName +
|
||||
// "\n///////////////////////\n"
|
||||
// );
|
||||
return axios
|
||||
.get(
|
||||
BASE_URL +
|
||||
@@ -821,7 +821,7 @@ export const getAwaitingSubmissionFromBlobProxy = (containerName) => {
|
||||
BASE_URL +
|
||||
"/api/file/getawaitingsubmissionfromblob?container=" +
|
||||
containerName +
|
||||
+hashAPIPath(
|
||||
hashAPIPath(
|
||||
"/api/file/getawaitingsubmissionfromblob?container=" +
|
||||
containerName
|
||||
)
|
||||
@@ -999,7 +999,17 @@ export const createNewCaseBlob = (
|
||||
"&contactid=" +
|
||||
contactid +
|
||||
"&containername=" +
|
||||
containerName;
|
||||
containerName +
|
||||
hashAPIPath(
|
||||
"/api/file/createcase_api?appealTypeId=" +
|
||||
appealTypeId +
|
||||
"&lpaID=" +
|
||||
lpaID +
|
||||
"&contactid=" +
|
||||
contactid +
|
||||
"&containername=" +
|
||||
containerName
|
||||
);
|
||||
|
||||
var config = {
|
||||
method: "post",
|
||||
@@ -1497,6 +1507,22 @@ export const getPortalLogin = (emailAddress) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const createContainerProxy = (containerName) => {
|
||||
var queryUrl =
|
||||
"/api/file/setupcontainer?ident=" +
|
||||
containerName +
|
||||
hashAPIPath("/api/file/setupcontainer?ident=" + containerName);
|
||||
|
||||
return axios
|
||||
.get(BASE_URL + queryUrl)
|
||||
.then((res) => res.data)
|
||||
.catch((error) => {
|
||||
//console.log(consoleLogger(error));
|
||||
console.log("thiserror", error);
|
||||
return JSON.stringify(error);
|
||||
});
|
||||
};
|
||||
|
||||
export const sendCaseCompleteMessage = async (containerID, caseReference) => {
|
||||
var queryUrl =
|
||||
"/api/file/createappealcompletemessage_api?container=" +
|
||||
@@ -1520,6 +1546,32 @@ export const sendCaseCompleteMessage = async (containerID, caseReference) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const sendCaseCompleteMessageProxy = async (
|
||||
containerID,
|
||||
caseReference
|
||||
) => {
|
||||
var queryUrl =
|
||||
"/api/file/createappealcompletemessageproxy_api?container=" +
|
||||
containerID +
|
||||
"&tempcaseref=" +
|
||||
caseReference;
|
||||
|
||||
var config = {
|
||||
method: "get",
|
||||
url: queryUrl,
|
||||
};
|
||||
|
||||
//console.log(data);
|
||||
|
||||
return axios(config)
|
||||
.then((res) => {
|
||||
return res.data;
|
||||
})
|
||||
.catch((error) => {
|
||||
//console.log("API call error", error);
|
||||
});
|
||||
};
|
||||
|
||||
export const sendRepCompleteMessage = async (containerID, caseReference) => {
|
||||
var queryUrl =
|
||||
"/api/file/createrepcompletemessage_api?container=" +
|
||||
|
||||
Reference in New Issue
Block a user