debug
This commit is contained in:
@@ -3,7 +3,7 @@ import type { ICredentialTestRequest, ICredentialType, INodeProperties, Icon } f
|
||||
export class GwezzChangdunovelApi implements ICredentialType {
|
||||
name = 'gwezzChangdunovelApi';
|
||||
|
||||
displayName = 'Gwezz 常读分销 API';
|
||||
displayName = 'Gwezz Changdu Novel API';
|
||||
|
||||
icon = { light: 'file:../icons/gwezz.svg', dark: 'file:../icons/gwezz.dark.svg' } as Icon;
|
||||
|
||||
@@ -31,7 +31,8 @@ export class GwezzChangdunovelApi implements ICredentialType {
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
url: 'https://www.changdunovel.com/novelsale/openapi',
|
||||
method: 'GET',
|
||||
url: 'https://httpbin.org/status/200',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ function createAuthParams(
|
||||
|
||||
export class GwezzChangdunovel implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Gwezz 常读分销',
|
||||
displayName: 'Gwezz Changedu Novel',
|
||||
name: 'gwezzChangdunovel',
|
||||
icon: { light: 'file:../../icons/gwezz.svg', dark: 'file:../../icons/gwezz.dark.svg' },
|
||||
group: ['transform'],
|
||||
@@ -45,7 +45,7 @@ export class GwezzChangdunovel implements INodeType {
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Interact with the Changdunovel API',
|
||||
defaults: {
|
||||
name: 'Gwezz 常读分销',
|
||||
name: 'Gwezz Changedu Novel',
|
||||
},
|
||||
usableAsTool: true,
|
||||
inputs: ['main'],
|
||||
|
||||
@@ -48,4 +48,4 @@
|
||||
"peerDependencies": {
|
||||
"n8n-workflow": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user