This commit is contained in:
Kenneth Jannette
2024-02-24 02:25:45 -06:00
parent 53251238b1
commit b0ffaf38da

View File

@@ -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,
});