mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🔥 Exclude Notion OAuth cred
This commit is contained in:
parent
4450b6c2e9
commit
6d2bb7e18d
|
@ -1418,6 +1418,8 @@ function isGenericAuth(cred: Credential) {
|
|||
function isSupportedNodeCredentialType(cred: Credential) {
|
||||
if (isGenericAuth(cred)) return false;
|
||||
|
||||
if (cred.name === 'notionOAuth2Api') return false; // exists but currently commented out
|
||||
|
||||
if (cred.name.slice(0, -4).endsWith('OAuth')) return true;
|
||||
|
||||
return cred.authenticate !== undefined;
|
||||
|
|
Loading…
Reference in a new issue