Commit 9043683
fix(n8n-routes): omit second arg to generateWorkflowDraft when no triggerContext
Passing `undefined` as the second argument changed the call signature
visible to test spies, causing toHaveBeenCalledWith to fail. When there
is no bridgeConversationId the function is now called with one argument only.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8c7a38f commit 9043683
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1379 | 1378 | | |
1380 | 1379 | | |
1381 | 1380 | | |
| |||
0 commit comments