diff --git a/credentials/GwezzChangdunovelApi.credentials.ts b/credentials/GwezzChangdunovelApi.credentials.ts index f86f446..a9b886c 100644 --- a/credentials/GwezzChangdunovelApi.credentials.ts +++ b/credentials/GwezzChangdunovelApi.credentials.ts @@ -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', }, }; } diff --git a/nodes/GwezzChangdunovel/GwezzChangdunovel.node.ts b/nodes/GwezzChangdunovel/GwezzChangdunovel.node.ts index d1e35db..05cf481 100644 --- a/nodes/GwezzChangdunovel/GwezzChangdunovel.node.ts +++ b/nodes/GwezzChangdunovel/GwezzChangdunovel.node.ts @@ -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'], diff --git a/package.json b/package.json index c992187..e32196e 100644 --- a/package.json +++ b/package.json @@ -48,4 +48,4 @@ "peerDependencies": { "n8n-workflow": "*" } -} +} \ No newline at end of file