Skip to content

Commit

Permalink
fix(Contentful Node): Fix typo in credential name (no-changelog) (#6692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom authored and netroy committed Aug 17, 2023
1 parent 63cd3ec commit d93f27b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
10 changes: 5 additions & 5 deletions packages/nodes-base/nodes/Contentful/Contentful.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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',
},
Expand Down Expand Up @@ -187,7 +187,7 @@ export class Contentful implements INodeType {
}

if (returnAll) {
responseData = await contenfulApiRequestAllItems.call(
responseData = await contentfulApiRequestAllItems.call(
this,
'items',
'GET',
Expand Down Expand Up @@ -286,7 +286,7 @@ export class Contentful implements INodeType {
}

if (returnAll) {
responseData = await contenfulApiRequestAllItems.call(
responseData = await contentfulApiRequestAllItems.call(
this,
'items',
'GET',
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Contentful/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function contentfulApiRequest(
}
}

export async function contenfulApiRequestAllItems(
export async function contentfulApiRequestAllItems(
this: ILoadOptionsFunctions | IExecuteFunctions,
propertyName: string,
method: string,
Expand Down

0 comments on commit d93f27b

Please sign in to comment.