Skip to content

Commit 94d4fdc

Browse files
committed
fix
1 parent e40572a commit 94d4fdc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/blocks/blocks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ describe.concurrent('Blocks Module', () => {
435435

436436
describe('Input/Output Validation', () => {
437437
it('should have valid input types', () => {
438-
const validTypes = ['string', 'number', 'boolean', 'json', 'array', 'file', 'file[]']
438+
const validTypes = ['string', 'number', 'boolean', 'json', 'array', 'file']
439439
const blocks = getAllBlocks()
440440
for (const block of blocks) {
441441
for (const [_, inputConfig] of Object.entries(block.inputs)) {

apps/sim/blocks/blocks/mothership.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const MothershipBlock: BlockConfig<MothershipResponse> = {
7474
description: 'Mothership chat ID to continue; generated when omitted',
7575
},
7676
files: {
77-
type: 'file[]',
77+
type: 'file',
7878
description: 'Files to send to Mothership as attachments',
7979
},
8080
},

0 commit comments

Comments
 (0)