mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Linear Node): Fix issue with single item not being returned (#5193)
This commit is contained in:
committed by
GitHub
parent
454375077f
commit
e810966a3b
@@ -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}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user