mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 05:47:31 -08:00
⚡ Improvements to Typeform-Node
This commit is contained in:
parent
35e838800b
commit
c4bbb961a2
|
@ -3,6 +3,12 @@ import {
|
||||||
NodePropertyTypes,
|
NodePropertyTypes,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
const scopes = [
|
||||||
|
'webhooks:write',
|
||||||
|
'webhooks:read',
|
||||||
|
'forms:read',
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
export class TypeformOAuth2Api implements ICredentialType {
|
export class TypeformOAuth2Api implements ICredentialType {
|
||||||
name = 'typeformOAuth2Api';
|
name = 'typeformOAuth2Api';
|
||||||
|
@ -28,8 +34,8 @@ export class TypeformOAuth2Api implements ICredentialType {
|
||||||
{
|
{
|
||||||
displayName: 'Scope',
|
displayName: 'Scope',
|
||||||
name: 'scope',
|
name: 'scope',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'webhooks:write,webhooks:read,forms:read,',
|
default: scopes.join(','),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Auth URI Query Parameters',
|
displayName: 'Auth URI Query Parameters',
|
||||||
|
|
Loading…
Reference in a new issue