mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Fix some typos (no-changelog) (#5616)
This commit is contained in:
committed by
GitHub
parent
4e244937c9
commit
3c57062571
@@ -330,7 +330,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
name: 'fullResponse',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to return the full reponse data instead of only the body',
|
||||
description: 'Whether to return the full response data instead of only the body',
|
||||
},
|
||||
{
|
||||
displayName: 'Follow All Redirects',
|
||||
@@ -610,7 +610,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
|
||||
const fullReponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
|
||||
const fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
|
||||
|
||||
let authentication;
|
||||
|
||||
@@ -1086,7 +1086,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
|
||||
if (fullResponse) {
|
||||
const returnItem: IDataObject = {};
|
||||
for (const property of fullReponseProperties) {
|
||||
for (const property of fullResponseProperties) {
|
||||
if (property === 'body') {
|
||||
continue;
|
||||
}
|
||||
@@ -1114,7 +1114,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
|
||||
if (fullResponse) {
|
||||
const returnItem: IDataObject = {};
|
||||
for (const property of fullReponseProperties) {
|
||||
for (const property of fullResponseProperties) {
|
||||
if (property === 'body') {
|
||||
returnItem[dataPropertyName] = response![property];
|
||||
continue;
|
||||
@@ -1142,7 +1142,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
// responseFormat: 'json'
|
||||
if (fullResponse) {
|
||||
const returnItem: IDataObject = {};
|
||||
for (const property of fullReponseProperties) {
|
||||
for (const property of fullResponseProperties) {
|
||||
returnItem[property] = response![property];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user