This commit is contained in:
Kenneth Jannette
2024-03-10 19:19:23 -05:00
parent c73ebfd92c
commit 486ac83716

View File

@@ -40,7 +40,7 @@ const CaseDetailsPage = () => {
? process.env.REACT_APP_API_DEV
: process.env.REACT_APP_API_PROD;
// NEVER CHANGE THESE ARGS
// isComplaint = true - NEVER CHANGE THESE ARGS
async function generateOutgoingDiscReq(docId, clientPosition) {
try {
const response = await fetch(
@@ -55,7 +55,7 @@ const CaseDetailsPage = () => {
console.log("generate out error", err);
}
}
// NEVER CHANGE THESE ARGS
// isComplaint = false - NEVER CHANGE THESE ARGS
async function generateRespIncomingDiscReq(docId, clientPosition) {
try {
const response = await fetch(
@@ -74,11 +74,7 @@ const CaseDetailsPage = () => {
async function handleSuccess(docId, docType, radioValue) {
setShowUploadModal(false);
const clientPosition = subCase.clientPosition;
console.log(
"handle success in main page ~~~~~~~~~> radioValue, docType",
radioValue,
docType
);
console.log("handle success in details page ~~~~~~~~~> docType", docType);
if (docType === "complaint") {
const isComplaint = true;