diff --git a/web/src/utils/uploadFormDataToIPFS.ts b/web/src/utils/uploadFormDataToIPFS.ts index fd59fe94f..015df7f09 100644 --- a/web/src/utils/uploadFormDataToIPFS.ts +++ b/web/src/utils/uploadFormDataToIPFS.ts @@ -2,7 +2,7 @@ import { toast } from "react-toastify"; import { OPTIONS } from "utils/wrapWithToast"; export function uploadFormDataToIPFS(formData: FormData): Promise { - return toast.promise( + return toast.promise( fetch("/.netlify/functions/uploadToIPFS?dapp=court&key=kleros-v2&operation=evidence", { method: "POST", body: formData,