From 9b5db8d7be501ff06e49fd25ce9e0f3e9aa8fbea Mon Sep 17 00:00:00 2001 From: agobrech <45268029+agobrech@users.noreply.github.com> Date: Thu, 10 Nov 2022 11:39:22 +0100 Subject: [PATCH] fix(HubSpot Node): Add notice to HubSpot credentials about API Key Sunset (#4570) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ Add notice about depreciation of Hubspot API token --- .../credentials/HubspotApi.credentials.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/nodes-base/credentials/HubspotApi.credentials.ts b/packages/nodes-base/credentials/HubspotApi.credentials.ts index 5d2e9870df..162f7ee24f 100644 --- a/packages/nodes-base/credentials/HubspotApi.credentials.ts +++ b/packages/nodes-base/credentials/HubspotApi.credentials.ts @@ -1,10 +1,22 @@ -import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow'; +import { + IAuthenticateGeneric, + ICredentialTestRequest, + ICredentialType, + INodeProperties, +} from 'n8n-workflow'; export class HubspotApi implements ICredentialType { name = 'hubspotApi'; displayName = 'HubSpot API'; documentationUrl = 'hubspot'; properties: INodeProperties[] = [ + { + displayName: + 'On 30 November, 2022 Hubspot will remove API key support. You will have to connect to HubSpot using private app or Oauth2 auth method. More details (HubSpot.com)', + name: 'notice', + type: 'notice', + default: '', + }, { displayName: 'API Key', name: 'apiKey',