mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix bug that HTTP Request node did process data incorrectly
This commit is contained in:
@@ -522,7 +522,8 @@ export class HttpRequest implements INodeType {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
returnItems.push({ json: { response } });
|
||||
// responseFormat: 'json'
|
||||
returnItems.push({ json: response });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -531,7 +532,7 @@ export class HttpRequest implements INodeType {
|
||||
return this.prepareOutputData(items);
|
||||
} else {
|
||||
// For all other ones does the output items get replaced
|
||||
return [this.helpers.returnJsonArray(returnItems)];
|
||||
return this.prepareOutputData(returnItems);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user