🔀 Merge branch 'master' of github.com:n8n-io/n8n

This commit is contained in:
Jan Oberhauser 2020-12-23 13:00:26 +01:00
commit 9dfcfc72bd
2 changed files with 8 additions and 3 deletions

View file

@ -3,6 +3,11 @@ import {
NodePropertyTypes, NodePropertyTypes,
} from 'n8n-workflow'; } from 'n8n-workflow';
const scopes = [
'files.content.write',
'files.content.read',
'sharing.read',
];
export class DropboxOAuth2Api implements ICredentialType { export class DropboxOAuth2Api implements ICredentialType {
name = 'dropboxOAuth2Api'; name = 'dropboxOAuth2Api';
@ -30,13 +35,13 @@ export class DropboxOAuth2Api implements ICredentialType {
displayName: 'Scope', displayName: 'Scope',
name: 'scope', name: 'scope',
type: 'hidden' as NodePropertyTypes, type: 'hidden' as NodePropertyTypes,
default: '', default: scopes.join(' '),
}, },
{ {
displayName: 'Auth URI Query Parameters', displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters', name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes, type: 'hidden' as NodePropertyTypes,
default: '', default: 'token_access_type=offline',
}, },
{ {
displayName: 'Authentication', displayName: 'Authentication',

View file

@ -18,7 +18,7 @@ import {
export class RealtimeDatabase implements INodeType { export class RealtimeDatabase implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
displayName: 'Google Firebase Realtime Database', displayName: 'Google Cloud Realtime Database',
name: 'googleFirebaseRealtimeDatabase', name: 'googleFirebaseRealtimeDatabase',
icon: 'file:googleFirebaseRealtimeDatabase.png', icon: 'file:googleFirebaseRealtimeDatabase.png',
group: ['input'], group: ['input'],