mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Remove duplicate conditional on Function-Node (#1375)
This commit is contained in:
@@ -98,9 +98,6 @@ export class Function implements INodeType {
|
||||
throw new Error('Always an Array of items has to be returned!');
|
||||
}
|
||||
for (const item of items) {
|
||||
if (item.json === undefined) {
|
||||
throw new Error('All returned items have to contain property named "json"!');
|
||||
}
|
||||
if (item.json === undefined) {
|
||||
throw new Error('All returned items have to contain a property named "json"!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user