From 52795bd5c54d544f82ab7e4c82f00a00e2178072 Mon Sep 17 00:00:00 2001 From: Valentina Lilova Date: Thu, 21 Apr 2022 17:28:48 +0300 Subject: [PATCH] Fix INodeCredentialTestResult --- nodes/FriendGrid/FriendGrid.node.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/FriendGrid/FriendGrid.node.ts b/nodes/FriendGrid/FriendGrid.node.ts index 5959897..d54e906 100644 --- a/nodes/FriendGrid/FriendGrid.node.ts +++ b/nodes/FriendGrid/FriendGrid.node.ts @@ -6,10 +6,10 @@ import { ICredentialsDecrypted, ICredentialTestFunctions, IDataObject, + INodeCredentialTestResult, INodeExecutionData, INodeType, INodeTypeDescription, - NodeCredentialTestResult, } from 'n8n-workflow'; import { @@ -69,7 +69,7 @@ export class FriendGrid implements INodeType { methods = { credentialTest: { - async testFriendGridApiAuth(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise { + async testFriendGridApiAuth(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise { // https://docs.sendgrid.com/api-reference/users-api/retrieve-your-username const options: OptionsWithUri = { @@ -155,4 +155,4 @@ export class FriendGrid implements INodeType { } return [this.helpers.returnJsonArray(returnData)]; } -} \ No newline at end of file +}