mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(wufooTrigger Node): fix form names not being listed correctly (#4151)
This commit is contained in:
committed by
GitHub
parent
764bd3522b
commit
616d62aa8e
@@ -1,4 +1,9 @@
|
||||
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
import {
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class WufooApi implements ICredentialType {
|
||||
name = 'wufooApi';
|
||||
@@ -18,4 +23,21 @@ export class WufooApi implements ICredentialType {
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
auth: {
|
||||
username: '={{$credentials.apiKey}}',
|
||||
password: 'not-needed',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '=https://{{$credentials.subdomain}}.wufoo.com',
|
||||
url: '/api/v3/forms.json',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user