fix(Code Node): Replace tab character with spaces in placeholder (no-changelog) (#9577)

This commit is contained in:
Michael Kret 2024-06-03 12:53:01 +03:00 committed by GitHub
parent 6268276746
commit f50c73a3cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ return $input.item;`.trim(),
runOnceForAllItems: `
# Loop over input items and add a new field called 'myNewField' to the JSON of each one
for item in _input.all():
item.json.myNewField = 1
item.json.myNewField = 1
return _input.all()`.trim(),
runOnceForEachItem: `
# Add a new field called 'myNewField' to the JSON of the item