mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-11-21 23:47:29 -06: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,
|
||||
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<NodeCredentialTestResult> {
|
||||
async testFriendGridApiAuth(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult> {
|
||||
|
||||
// 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)];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue