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