fix(Linear Node): Fix issue with single item not being returned (#5193)

This commit is contained in:
Jonathan Bennetts
2023-01-20 12:59:47 +00:00
committed by GitHub
parent 454375077f
commit e810966a3b
4 changed files with 36 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
import { ICredentialType, INodeProperties } from 'n8n-workflow';
import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
export class LinearApi implements ICredentialType {
name = 'linearApi';
@@ -16,4 +16,13 @@ export class LinearApi implements ICredentialType {
default: '',
},
];
authenticate: IAuthenticateGeneric = {
type: 'generic',
properties: {
headers: {
Authorization: '={{$credentials.apiKey}}',
},
},
};
}