🐛 Fix credential bug with parameters which have the same name

This commit is contained in:
Jan Oberhauser
2021-01-27 09:02:20 +01:00
parent 91623806ae
commit de0ac0158a
9 changed files with 42 additions and 26 deletions

View File

@@ -29,7 +29,7 @@ export class ZendeskOAuth2Api implements ICredentialType {
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/authorizations/new',
default: '=https://{{$self["subdomain"]}}.zendesk.com/oauth/authorizations/new',
description: 'URL to get authorization code. Replace {SUBDOMAIN_HERE} with your subdomain.',
required: true,
},
@@ -37,7 +37,7 @@ export class ZendeskOAuth2Api implements ICredentialType {
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/tokens',
default: '=https://{{$self["subdomain"]}}.zendesk.com/oauth/tokens',
description: 'URL to get access token. Replace {SUBDOMAIN_HERE} with your subdomain.',
required: true,
},