mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(Mailjet Trigger Node): Fix issue that node could not get activated (#3281)
* 🔨 fix and clean up * ⚡ Improvements Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import {
|
||||
IAuthenticateBasicAuth,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
@@ -28,4 +30,18 @@ export class MailjetEmailApi implements ICredentialType {
|
||||
description: 'Whether to allow to run the API call in a Sandbox mode, where all validations of the payload will be done without delivering the message',
|
||||
},
|
||||
];
|
||||
authenticate: IAuthenticateBasicAuth = {
|
||||
type: 'basicAuth',
|
||||
properties: {
|
||||
userPropertyName: 'apiKey',
|
||||
passwordPropertyName: 'secretKey',
|
||||
},
|
||||
};
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: `https://api.mailjet.com`,
|
||||
url: '/v3/REST/template',
|
||||
method: 'GET',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user