Skip to content

Commit 3bea60c

Browse files
fix(custom-blocks): include workspaceId in publishCustomBlock return
The publish path builds a CustomBlockWithInputs literal; it was missing the workspaceId field added to the interface, breaking the type check. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ddpeoz81CSqYQ73Dzf7yo
1 parent 8f89f20 commit 3bea60c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sim/lib/workflows/custom-blocks/operations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ export async function publishCustomBlock(params: {
389389
organizationId,
390390
workflowId,
391391
workflowName: wf.name,
392+
workspaceId: wf.workspaceId,
392393
workspaceName: ws?.name ?? null,
393394
type,
394395
name,

0 commit comments

Comments
 (0)