Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix types
  • Loading branch information
icecrasher321 committed Apr 6, 2026
commit 13302547c1f9865d21054dc3b586fb82a5bbf1b6
9 changes: 5 additions & 4 deletions apps/sim/lib/workflows/executor/human-in-the-loop-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,9 +875,9 @@ export class PauseResumeManager {
childWorkflowBlockId: childWorkflowContext.parentBlockId,
childWorkflowName: childWorkflowContext.workflowName,
}),
...(callbackData.childWorkflowInstanceId && {
childWorkflowInstanceId: callbackData.childWorkflowInstanceId,
}),
...(callbackData.childWorkflowInstanceId
? { childWorkflowInstanceId: callbackData.childWorkflowInstanceId }
: {}),
}

writeBufferedEvent({
Expand Down Expand Up @@ -911,7 +911,8 @@ export class PauseResumeManager {
} as ExecutionEvent)
},
onStream: async (streamingExec: StreamingExecution) => {
const blockId = (streamingExec.execution as Record<string, unknown>).blockId as string
const blockId = (streamingExec.execution as unknown as Record<string, unknown>)
.blockId as string
const reader = streamingExec.stream.getReader()
const decoder = new TextDecoder()
try {
Expand Down
Loading