mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(HTTP Request Node): Delete response.request only when it's a valid circular references (#8293)
This commit is contained in:
committed by
GitHub
parent
8c7f39907f
commit
05c43faa2d
@@ -1786,7 +1786,8 @@ export class HttpRequestV3 implements INodeType {
|
||||
|
||||
// eslint-disable-next-line prefer-const
|
||||
for (let [index, response] of Object.entries(responses)) {
|
||||
delete response.request;
|
||||
if (response?.request?.constructor.name === 'ClientRequest') delete response.request;
|
||||
|
||||
if (this.getMode() === 'manual' && index === '0') {
|
||||
// For manual executions save the first response in the context
|
||||
// so that we can use it in the frontend and so make it easier for
|
||||
|
||||
Reference in New Issue
Block a user