From 6981438a384dd325db6f8b59f31e4a05e4197865 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 15 Jan 2021 09:47:39 +0100 Subject: [PATCH] :zap: Simplify Zendesk credentials --- .../credentials/ZendeskOAuth2Api.credentials.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts index fd9353ca134..f57ed33c39d 100644 --- a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts @@ -28,16 +28,16 @@ export class ZendeskOAuth2Api implements ICredentialType { { displayName: 'Authorization URL', name: 'authUrl', - type: 'string' as NodePropertyTypes, - default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/authorizations/new', + type: 'hidden' as NodePropertyTypes, + default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/authorizations/new', description: 'URL to get authorization code. Replace {SUBDOMAIN_HERE} with your subdomain.', required: true, }, { displayName: 'Access Token URL', name: 'accessTokenUrl', - type: 'string' as NodePropertyTypes, - default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/tokens', + type: 'hidden' as NodePropertyTypes, + default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/tokens', description: 'URL to get access token. Replace {SUBDOMAIN_HERE} with your subdomain.', required: true, },