mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-11-01 07:42:26 -05:00
Fix INodeCredentialTestResult
This commit is contained in:
parent
5e87b7983a
commit
52795bd5c5
1 changed files with 3 additions and 3 deletions
|
|
@ -6,10 +6,10 @@ import {
|
||||||
ICredentialsDecrypted,
|
ICredentialsDecrypted,
|
||||||
ICredentialTestFunctions,
|
ICredentialTestFunctions,
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
INodeCredentialTestResult,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
NodeCredentialTestResult,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
@ -69,7 +69,7 @@ export class FriendGrid implements INodeType {
|
||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
credentialTest: {
|
credentialTest: {
|
||||||
async testFriendGridApiAuth(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<NodeCredentialTestResult> {
|
async testFriendGridApiAuth(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult> {
|
||||||
|
|
||||||
// https://docs.sendgrid.com/api-reference/users-api/retrieve-your-username
|
// https://docs.sendgrid.com/api-reference/users-api/retrieve-your-username
|
||||||
const options: OptionsWithUri = {
|
const options: OptionsWithUri = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue