From 2579fe9631ccaa08a93ec43e40a1014bbba89b08 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 20 Apr 2023 11:40:35 +0100 Subject: [PATCH] docs: Add api notice to credentials for google sheets nodes (no-changelog) (#6024) --- .../credentials/GoogleSheetsOAuth2Api.credentials.ts | 7 +++++++ .../GoogleSheetsTriggerOAuth2Api.credentials.ts | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts index ec64159b29..1744613a59 100644 --- a/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleSheetsOAuth2Api.credentials.ts @@ -22,5 +22,12 @@ export class GoogleSheetsOAuth2Api implements ICredentialType { type: 'hidden', default: scopes.join(' '), }, + { + displayName: + 'Make sure you enabled the following APIs & Services in the Google Cloud Console: Google Drive API, Google Sheets API. More info.', + name: 'notice', + type: 'notice', + default: '', + }, ]; } diff --git a/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts index 81b7845819..b5ee15101f 100644 --- a/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GoogleSheetsTriggerOAuth2Api.credentials.ts @@ -23,5 +23,12 @@ export class GoogleSheetsTriggerOAuth2Api implements ICredentialType { type: 'hidden', default: scopes.join(' '), }, + { + displayName: + 'Make sure you have enabled the following APIs & Services in the Google Cloud Console: Google Drive API, Google Sheets API. More info.', + name: 'notice', + type: 'notice', + default: '', + }, ]; }