diff --git a/packages/nodes-base/credentials/DisqusOAuth2Api.credentials.ts b/packages/nodes-base/credentials/DisqusOAuth2Api.credentials.ts index 4a75448638..6b115d1482 100644 --- a/packages/nodes-base/credentials/DisqusOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/DisqusOAuth2Api.credentials.ts @@ -27,8 +27,8 @@ export class DisqusOAuth2Api implements ICredentialType { { displayName: 'Scope', name: 'scope', - type: 'string' as NodePropertyTypes, - default: 'read,write', + type: 'hidden' as NodePropertyTypes, + default: 'admin', }, { displayName: 'Auth URI Query Parameters', @@ -39,21 +39,8 @@ export class DisqusOAuth2Api implements ICredentialType { { displayName: 'Authentication', name: 'authentication', - type: 'options' as NodePropertyTypes, - options: [ - { - name: 'Body', - value: 'body', - description: 'Send credentials in body', - }, - { - name: 'Header', - value: 'header', - description: 'Send credentials as Basic Auth header', - }, - ], - default: 'header', - description: 'Resource to consume.', + type: 'hidden' as NodePropertyTypes, + default: 'body' }, ]; } diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index d2f3ecfb0d..4b17a09446 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -52,6 +52,7 @@ "dist/credentials/CustomerIoApi.credentials.js", "dist/credentials/CrateDb.credentials.js", "dist/credentials/DisqusApi.credentials.js", + "dist/credentials/DisqusOAuth2Api.credentials.js", "dist/credentials/DriftApi.credentials.js", "dist/credentials/DriftOAuth2Api.credentials.js", "dist/credentials/DropboxApi.credentials.js",