From 0c7d99f7eadbc1a7e23f05c0ca05f64bcec477f0 Mon Sep 17 00:00:00 2001 From: Toba Ojo Date: Tue, 11 Nov 2025 12:50:48 +0000 Subject: [PATCH] minor bugfix: removed csv check for update files --- src/components/SettingForms/System/Upload.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/SettingForms/System/Upload.ts b/src/components/SettingForms/System/Upload.ts index 1403722..39123e0 100644 --- a/src/components/SettingForms/System/Upload.ts +++ b/src/components/SettingForms/System/Upload.ts @@ -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;