This commit is contained in:
2025-10-29 22:24:25 +08:00
parent be3e4cb912
commit 4ac209379e
3 changed files with 6 additions and 5 deletions

View File

@@ -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',
},
};
}

View File

@@ -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'],