mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Fix some typos (no-changelog) (#5616)
This commit is contained in:
committed by
GitHub
parent
4e244937c9
commit
3c57062571
@@ -318,7 +318,7 @@ export class HttpRequestV1 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',
|
||||
@@ -598,7 +598,7 @@ export class HttpRequestV1 implements INodeType {
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
const items = this.getInputData();
|
||||
|
||||
const fullReponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
|
||||
const fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
|
||||
|
||||
const responseFormat = this.getNodeParameter('responseFormat', 0) as string;
|
||||
|
||||
@@ -1035,7 +1035,7 @@ export class HttpRequestV1 implements INodeType {
|
||||
|
||||
if (fullResponse) {
|
||||
const returnItem: IDataObject = {};
|
||||
for (const property of fullReponseProperties) {
|
||||
for (const property of fullResponseProperties) {
|
||||
if (property === 'body') {
|
||||
continue;
|
||||
}
|
||||
@@ -1063,7 +1063,7 @@ export class HttpRequestV1 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;
|
||||
@@ -1091,7 +1091,7 @@ export class HttpRequestV1 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