develop #2

Merged
TobaOjo merged 4 commits from develop into main 2025-11-11 12:52:29 +00:00
2 changed files with 70 additions and 60 deletions
Showing only changes of commit 0c7d99f7ea - Show all commits

View File

@@ -14,9 +14,6 @@ export async function sendBlobFileUpload({ file, opts }: BlobFileUpload): Promis
if (!file) throw new Error("No file supplied");
if (!opts?.uploadUrl) throw new Error("No URL supplied");
if (file?.type !== "text/csv") {
throw new Error("This file is not supported, please upload a CSV file.");
}
const timeoutMs = opts?.timeoutMs ?? 30000;
const fieldName = opts?.fieldName ?? "upload";
const fileName = opts?.overrideFileName ?? file?.name;