more
This commit is contained in:
@@ -11,7 +11,10 @@ import { AppContext } from "../../Hooks/useContext/appContext.js";
|
||||
import { db } from "../../firebase";
|
||||
import { objectMap } from "../../Utils/Object";
|
||||
import { createCaseFields as fields } from "../../Constants/Fields/CreateCaseFields.js";
|
||||
import { floridaCourts } from "../../Constants/Fields/CreateCaseFields.js";
|
||||
import {
|
||||
floridaCourts,
|
||||
newYorkCounties,
|
||||
} from "../../Constants/Fields/CreateCaseFields.js";
|
||||
import "../../styles/modals.scss";
|
||||
import {
|
||||
getFormDataDefaults,
|
||||
|
||||
@@ -72,7 +72,7 @@ const UploadModal = (props) => {
|
||||
|
||||
async function uploadFile(file) {
|
||||
try {
|
||||
const response = await fetch(`${apiUrl}/parseNewDoc`, {
|
||||
const response = await fetch(`${apiUrl}/v1/parseNewDoc`, {
|
||||
method: "POST",
|
||||
body: file,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user