This commit is contained in:
Jonathan Bennetts 2024-09-19 09:07:51 +01:00
parent 19a1aad767
commit a0fcc6955d
No known key found for this signature in database

View file

@ -1,4 +1,9 @@
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
import type {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class BrandfetchApi implements ICredentialType {
name = 'brandfetchApi';
@ -21,7 +26,7 @@ export class BrandfetchApi implements ICredentialType {
type: 'generic',
properties: {
headers: {
'Authorization': '=Bearer {{$credentials.apiKey}}',
Authorization: '=Bearer {{$credentials.apiKey}}',
},
},
};