diff --git a/packages/nodes-base/credentials/GristApi.credentials.ts b/packages/nodes-base/credentials/GristApi.credentials.ts index 8458675948..bf6ef314be 100644 --- a/packages/nodes-base/credentials/GristApi.credentials.ts +++ b/packages/nodes-base/credentials/GristApi.credentials.ts @@ -31,8 +31,8 @@ export class GristApi implements ICredentialType { }, { name: 'Self-hosted', - value: 'selfhosted', - }, + value: 'selfHosted', + }, ], }, { @@ -55,12 +55,13 @@ export class GristApi implements ICredentialType { name: 'selfHostedUrl', type: 'string', default: '', + placeholder: 'http://localhost:8484', required: true, - description: 'URL of your Grist instance (include http/https without /api and no trailing slash)', + description: 'URL of your Grist instance. Include http/https without /api and no trailing slash.', displayOptions: { show: { planType: [ - 'selfhosted', + 'selfHosted', ], }, }, diff --git a/packages/nodes-base/nodes/Grist/types.d.ts b/packages/nodes-base/nodes/Grist/types.d.ts index a2841ff68c..c8fec6c93f 100644 --- a/packages/nodes-base/nodes/Grist/types.d.ts +++ b/packages/nodes-base/nodes/Grist/types.d.ts @@ -1,6 +1,6 @@ export type GristCredentials = { apiKey: string; - planType: 'free' | 'paid' | 'selfhosted'; + planType: 'free' | 'paid' | 'selfHosted'; customSubdomain?: string; selfHostedUrl?: string; }