From a35721abec804db5893d80b75247f7cf0539ddab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=BChn?= Date: Tue, 25 Aug 2026 13:24:40 +0200 Subject: [PATCH] Fix file_path: send undefined instead of null --- frontend/src/components/FillModal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/FillModal.jsx b/frontend/src/components/FillModal.jsx index 35afec2..0e60295 100644 --- a/frontend/src/components/FillModal.jsx +++ b/frontend/src/components/FillModal.jsx @@ -194,7 +194,7 @@ export default function FillModal({ template, onSubmit, onClose }) { template_id: template.id, title: template.name, values: taskValues, - file_path: (allowsFileUpload && uploadedFile) ? uploadedFile : null, + file_path: (allowsFileUpload && uploadedFile) ? uploadedFile : undefined, }); } finally { setSubmitting(false);