diff --git a/.changeset/lemon-chicken-enjoy.md b/.changeset/lemon-chicken-enjoy.md new file mode 100644 index 000000000..b80ea054b --- /dev/null +++ b/.changeset/lemon-chicken-enjoy.md @@ -0,0 +1,5 @@ +--- +"@panora/embedded-card-react": patch +--- + +little fix diff --git a/apps/embedded-catalog/react/src/helpers/config.ts b/apps/embedded-catalog/react/src/helpers/config.ts index 4eeb0e431..963304861 100644 --- a/apps/embedded-catalog/react/src/helpers/config.ts +++ b/apps/embedded-catalog/react/src/helpers/config.ts @@ -1,5 +1,5 @@ const config = { - API_URL: "http://localhost:3000" + API_URL: "https://api-dev.panora.dev" //"http://localhost:3000" }; export default config; diff --git a/packages/api/src/@core/connections/crm/services/hubspot/hubspot.service.ts b/packages/api/src/@core/connections/crm/services/hubspot/hubspot.service.ts index 56a575963..7d5ea2159 100644 --- a/packages/api/src/@core/connections/crm/services/hubspot/hubspot.service.ts +++ b/packages/api/src/@core/connections/crm/services/hubspot/hubspot.service.ts @@ -44,8 +44,8 @@ export class HubspotConnectionService implements ICrmConnectionService { const REDIRECT_URI = `${this.env.getOAuthRredirectBaseUrl()}/connections/oauth/callback`; const formData = new URLSearchParams({ grant_type: 'authorization_code', - client_id: 'ba591170-a7c7-4fca-8086-1bd178c6b14d', //this.env.getHubspotAuth().CLIENT_ID, - client_secret: '5553551a-2e5d-49da-a933-35a3d9d9e035', //this.env.getHubspotAuth().CLIENT_SECRET, + client_id: this.env.getHubspotAuth().CLIENT_ID, + client_secret: this.env.getHubspotAuth().CLIENT_SECRET, redirect_uri: REDIRECT_URI, code: code, });