mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(Contentful Node): Fix typo in credential name (no-changelog) (#6692)
This commit is contained in:
parent
3566c13afc
commit
81e98e82fd
|
@ -4,7 +4,7 @@ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||||
export class ContentfulApi implements ICredentialType {
|
export class ContentfulApi implements ICredentialType {
|
||||||
name = 'contentfulApi';
|
name = 'contentfulApi';
|
||||||
|
|
||||||
displayName = 'Contenful API';
|
displayName = 'Contentful API';
|
||||||
|
|
||||||
documentationUrl = 'contentful';
|
documentationUrl = 'contentful';
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import type {
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { contenfulApiRequestAllItems, contentfulApiRequest } from './GenericFunctions';
|
import { contentfulApiRequestAllItems, contentfulApiRequest } from './GenericFunctions';
|
||||||
|
|
||||||
import * as SpaceDescription from './SpaceDescription';
|
import * as SpaceDescription from './SpaceDescription';
|
||||||
import * as ContentTypeDescription from './ContentTypeDescription';
|
import * as ContentTypeDescription from './ContentTypeDescription';
|
||||||
|
@ -23,7 +23,7 @@ export class Contentful implements INodeType {
|
||||||
icon: 'file:contentful.png',
|
icon: 'file:contentful.png',
|
||||||
group: ['input'],
|
group: ['input'],
|
||||||
version: 1,
|
version: 1,
|
||||||
description: 'Consume Contenful API',
|
description: 'Consume Contentful API',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: 'Contentful',
|
name: 'Contentful',
|
||||||
},
|
},
|
||||||
|
@ -187,7 +187,7 @@ export class Contentful implements INodeType {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (returnAll) {
|
if (returnAll) {
|
||||||
responseData = await contenfulApiRequestAllItems.call(
|
responseData = await contentfulApiRequestAllItems.call(
|
||||||
this,
|
this,
|
||||||
'items',
|
'items',
|
||||||
'GET',
|
'GET',
|
||||||
|
@ -286,7 +286,7 @@ export class Contentful implements INodeType {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (returnAll) {
|
if (returnAll) {
|
||||||
responseData = await contenfulApiRequestAllItems.call(
|
responseData = await contentfulApiRequestAllItems.call(
|
||||||
this,
|
this,
|
||||||
'items',
|
'items',
|
||||||
'GET',
|
'GET',
|
||||||
|
@ -335,7 +335,7 @@ export class Contentful implements INodeType {
|
||||||
const env = this.getNodeParameter('environmentId', i) as string;
|
const env = this.getNodeParameter('environmentId', i) as string;
|
||||||
|
|
||||||
if (returnAll) {
|
if (returnAll) {
|
||||||
responseData = await contenfulApiRequestAllItems.call(
|
responseData = await contentfulApiRequestAllItems.call(
|
||||||
this,
|
this,
|
||||||
'items',
|
'items',
|
||||||
'GET',
|
'GET',
|
||||||
|
|
|
@ -44,7 +44,7 @@ export async function contentfulApiRequest(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function contenfulApiRequestAllItems(
|
export async function contentfulApiRequestAllItems(
|
||||||
this: ILoadOptionsFunctions | IExecuteFunctions,
|
this: ILoadOptionsFunctions | IExecuteFunctions,
|
||||||
propertyName: string,
|
propertyName: string,
|
||||||
method: string,
|
method: string,
|
||||||
|
|
Loading…
Reference in a new issue