fix(HTTP Request Tool Node): Fix the undefined response issue when authentication is enabled (#11343)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Eugene
2024-10-22 16:28:42 +02:00
committed by GitHub
parent cade9b2d91
commit 094ec68d4c
3 changed files with 183 additions and 108 deletions

View File

@@ -281,6 +281,7 @@ export class ToolHttpRequest implements INodeType {
'User-Agent': undefined,
},
body: {},
// We will need a full response object later to extract the headers and check the response's content type.
returnFullResponse: true,
};