mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Don't use unbound context methods in code sandboxes (#11914)
This commit is contained in:
committed by
GitHub
parent
2c252b0b2d
commit
f6c0d045e9
@@ -121,7 +121,7 @@ export class AiTransform implements INodeType {
|
||||
sandbox.on(
|
||||
'output',
|
||||
workflowMode === 'manual'
|
||||
? this.sendMessageToUI
|
||||
? this.sendMessageToUI.bind(this)
|
||||
: CODE_ENABLE_STDOUT === 'true'
|
||||
? (...args) =>
|
||||
console.log(`[Workflow "${this.getWorkflow().id}"][Node "${node.name}"]`, ...args)
|
||||
|
||||
Reference in New Issue
Block a user