From 124cb8f359363259befd3ee0b5aade19194fbcde Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Wed, 30 Aug 2023 15:09:41 +0200 Subject: [PATCH] :bug: (fileUpload) Make file type optionnal --- .../src/features/blocks/inputs/fileUpload/api/getUploadUrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/viewer/src/features/blocks/inputs/fileUpload/api/getUploadUrl.ts b/apps/viewer/src/features/blocks/inputs/fileUpload/api/getUploadUrl.ts index f6b3ca854..12c8064db 100644 --- a/apps/viewer/src/features/blocks/inputs/fileUpload/api/getUploadUrl.ts +++ b/apps/viewer/src/features/blocks/inputs/fileUpload/api/getUploadUrl.ts @@ -27,7 +27,7 @@ export const getUploadUrl = publicProcedure typebotId: z.string(), blockId: z.string(), filePath: z.string(), - fileType: z.string(), + fileType: z.string().optional(), }) ) .output(