We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f22ce commit c51c879Copy full SHA for c51c879
1 file changed
credentials/HostingerApi.credentials.ts
@@ -1,5 +1,6 @@
1
import {
2
IAuthenticateGeneric,
3
+ ICredentialTestRequest,
4
ICredentialType,
5
INodeProperties,
6
} from 'n8n-workflow';
@@ -23,6 +24,7 @@ export class HostingerApi implements ICredentialType {
23
24
description: 'Enter your Hostinger API token',
25
},
26
];
27
+
28
authenticate: IAuthenticateGeneric = {
29
type: 'generic',
30
properties: {
@@ -31,4 +33,12 @@ export class HostingerApi implements ICredentialType {
31
33
32
34
35
};
36
37
+ test: ICredentialTestRequest = {
38
+ request: {
39
+ baseURL: this.documentationUrl,
40
+ url: '/api/billing/v1/subscriptions',
41
+ method: 'GET',
42
+ },
43
+ };
44
}
0 commit comments