Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update the scopes

Kiran K37dc79751526
diff --git a/apps/web/lib/integrations/hubspot/constants.ts b/apps/web/lib/integrations/hubspot/constants.ts
index 68b64fea1c..3045244b6a 100644
--- a/apps/web/lib/integrations/hubspot/constants.ts
+++ b/apps/web/lib/integrations/hubspot/constants.ts
@@ -12,6 +12,7 @@ export const HUBSPOT_API_HOST = "https://api.hubapi.com";
export const HUBSPOT_APP_SCOPES = [
"oauth",
+ "crm.objects.contacts.read",
"crm.objects.contacts.write",
"crm.objects.deals.read",
];
diff --git a/packages/hubspot-app/src/app/app-hsmeta.json b/packages/hubspot-app/src/app/app-hsmeta.json
index f2d57eaaaf..93a7f69a38 100644
--- a/packages/hubspot-app/src/app/app-hsmeta.json
+++ b/packages/hubspot-app/src/app/app-hsmeta.json
@@ -15,7 +15,6 @@
"oauth",
"crm.objects.contacts.read",
"crm.objects.contacts.write",
- "crm.objects.leads.read",
"crm.objects.deals.read"
],
"optionalScopes": [],