mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Simplify property types in credentials (#1869)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class MicrosoftExcelOAuth2Api implements ICredentialType {
|
||||
@@ -10,12 +10,12 @@ export class MicrosoftExcelOAuth2Api implements ICredentialType {
|
||||
];
|
||||
displayName = 'Microsoft Excel OAuth2 API';
|
||||
documentationUrl = 'microsoft';
|
||||
properties = [
|
||||
properties: INodeProperties[] = [
|
||||
//https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
|
||||
{
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
type: 'hidden',
|
||||
default: 'openid offline_access Files.ReadWrite',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user