feat: Updated multiple credentials with tests and allow to be used on HTTP Request Node (#3670)

* Notion cred updated

* Airtable new cred

* revamped twilio cred

* urlscanlo revamp cred

* Wordpress revamp cred with testing

* SendGrid cred revamped

* 🐛 Fix imports

* 🐛  Fixes imports in urlscanio

* Fix airtable cred injection

* Fixes notion request, changes way of cred injection

* Change auth type from method to generic

* Fix minor issues

* Fix lint issue

Co-authored-by: Omar Ajoue <krynble@gmail.com>
This commit is contained in:
agobrech
2022-07-10 12:32:19 +02:00
committed by GitHub
parent ece1836c45
commit d5d4dd3845
12 changed files with 78 additions and 70 deletions

View File

@@ -1,4 +1,5 @@
import {
IAuthenticateGeneric,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
@@ -15,4 +16,12 @@ export class SendGridApi implements ICredentialType {
default: '',
},
];
authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiKey}}',
},
},
} as IAuthenticateGeneric;
}