mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
🐛 Set new Hubspot granular scopes (#2531)
* Hubspot Developer API Credentials: Use granular scopes as contacts scope is no longer available for new apps * ⚡ Add new scopes to regular node * ⚡ Small fix * ⚡ Load contacts, companies and deals from API Co-authored-by: that-one-tom <19203795+that-one-tom@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,12 @@ import {
|
||||
} from 'n8n-workflow';
|
||||
|
||||
const scopes = [
|
||||
'contacts',
|
||||
'crm.objects.contacts.read',
|
||||
'crm.schemas.contacts.read',
|
||||
'crm.objects.companies.read',
|
||||
'crm.schemas.companies.read',
|
||||
'crm.objects.deals.read',
|
||||
'crm.schemas.deals.read',
|
||||
];
|
||||
|
||||
export class HubspotDeveloperApi implements ICredentialType {
|
||||
|
||||
Reference in New Issue
Block a user