more
This commit is contained in:
@@ -89,8 +89,8 @@ const UploadModal = (props) => {
|
||||
|
||||
async function uploadFile(file) {
|
||||
try {
|
||||
if (true) {
|
||||
const response = await fetch(`${apiUrl}/parseNewDoc`, {
|
||||
if (radioValue === "discovery-request") {
|
||||
const response = await fetch(`${apiUrl}/gen-disc-request`, {
|
||||
method: "POST",
|
||||
body: file,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user