fix(Contentful Node): Fix typo in credential name (no-changelog) (#6692)

This commit is contained in:
Jon 2023-07-19 09:41:50 +01:00 committed by GitHub
parent 3566c13afc
commit 81e98e82fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class ContentfulApi implements ICredentialType {
name = 'contentfulApi';
displayName = 'Contenful API';
displayName = 'Contentful API';
documentationUrl = 'contentful';

View file

@ -6,7 +6,7 @@ import type {
INodeTypeDescription,
} from 'n8n-workflow';
import { contenfulApiRequestAllItems, contentfulApiRequest } from './GenericFunctions';
import { contentfulApiRequestAllItems, contentfulApiRequest } from './GenericFunctions';
import * as SpaceDescription from './SpaceDescription';
import * as ContentTypeDescription from './ContentTypeDescription';
@ -23,7 +23,7 @@ export class Contentful implements INodeType {
icon: 'file:contentful.png',
group: ['input'],
version: 1,
description: 'Consume Contenful API',
description: 'Consume Contentful API',
defaults: {
name: 'Contentful',
},
@ -187,7 +187,7 @@ export class Contentful implements INodeType {
}
if (returnAll) {
responseData = await contenfulApiRequestAllItems.call(
responseData = await contentfulApiRequestAllItems.call(
this,
'items',
'GET',
@ -286,7 +286,7 @@ export class Contentful implements INodeType {
}
if (returnAll) {
responseData = await contenfulApiRequestAllItems.call(
responseData = await contentfulApiRequestAllItems.call(
this,
'items',
'GET',
@ -335,7 +335,7 @@ export class Contentful implements INodeType {
const env = this.getNodeParameter('environmentId', i) as string;
if (returnAll) {
responseData = await contenfulApiRequestAllItems.call(
responseData = await contentfulApiRequestAllItems.call(
this,
'items',
'GET',

View file

@ -44,7 +44,7 @@ export async function contentfulApiRequest(
}
}
export async function contenfulApiRequestAllItems(
export async function contentfulApiRequestAllItems(
this: ILoadOptionsFunctions | IExecuteFunctions,
propertyName: string,
method: string,