mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(TheHive Node): fixes for node issues
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
IAuthenticate,
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
@@ -55,14 +56,14 @@ export class TheHiveApi implements ICredentialType {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
headers: {
|
||||
Authorization: '=Bearer {{$credentials.ApiKey}}',
|
||||
Authorization: '=Bearer {{$credentials?.ApiKey}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '={{$credentials.url}}',
|
||||
url: '/api/alert',
|
||||
baseURL: `={{$credentials?.url}}`,
|
||||
url: '/api/case',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user