From 18eecbaa309ed2cbe476ade5f0597adc77a41c9d Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Tue, 11 Mar 2025 05:00:07 -0700 Subject: [PATCH] fix: turned off required input for function for ui --- blocks/blocks/function.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/blocks/function.ts b/blocks/blocks/function.ts index 835a5ab8c4..00b31d0bbf 100644 --- a/blocks/blocks/function.ts +++ b/blocks/blocks/function.ts @@ -22,7 +22,7 @@ export const FunctionBlock: BlockConfig = { access: ['webcontainer_execute'], }, inputs: { - code: { type: 'string', required: true }, + code: { type: 'string', required: false }, timeout: { type: 'number', required: false }, }, outputs: {