Skip to content

Commit de006db

Browse files
committed
simplify
1 parent 0d4c14f commit de006db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/sim/executor/utils/start-block.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,14 +372,10 @@ function buildIntegrationTriggerOutput(
372372
if (isPlainObject(finalInput)) {
373373
Object.assign(base, finalInput as Record<string, unknown>)
374374
base.input = { ...(finalInput as Record<string, unknown>) }
375-
} else if (!Object.hasOwn(base, 'input')) {
375+
} else {
376376
base.input = finalInput
377377
}
378378

379-
if (!Object.hasOwn(base, 'input')) {
380-
base.input = getRawInputCandidate(workflowInput)
381-
}
382-
383379
return mergeFilesIntoOutput(base, workflowInput)
384380
}
385381

0 commit comments

Comments
 (0)