more
This commit is contained in:
@@ -103,6 +103,7 @@ const UploadModal = (props) => {
|
||||
try {
|
||||
if (radioValue === "complaint") {
|
||||
if (clientPositiion === "Plaintiff") {
|
||||
console.log("sending POST to: ", `${apiUrl}/v1/gen-disc-request-pl`);
|
||||
const response = await fetch(`${apiUrl}/v1/gen-disc-request-pl`, {
|
||||
method: "POST",
|
||||
body: file,
|
||||
@@ -110,6 +111,7 @@ const UploadModal = (props) => {
|
||||
const res = response;
|
||||
return res;
|
||||
} else {
|
||||
console.log("sending POST to:", `${apiUrl}/v1/gen-disc-request-df`);
|
||||
const response = await fetch(`${apiUrl}/v1/gen-disc-request-df`, {
|
||||
method: "POST",
|
||||
body: file,
|
||||
|
||||
Reference in New Issue
Block a user