refactor: Fix some typos (no-changelog) (#5616)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-03 18:49:19 +01:00
committed by GitHub
parent 4e244937c9
commit 3c57062571
53 changed files with 100 additions and 99 deletions

View File

@@ -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];
}