diff --git a/packages/api/src/services/integrations/notion.ts b/packages/api/src/services/integrations/notion.ts index 8e8cedcad..fd46dc1bb 100644 --- a/packages/api/src/services/integrations/notion.ts +++ b/packages/api/src/services/integrations/notion.ts @@ -4,7 +4,7 @@ import { logger } from '../../utils/logger' import { IntegrationClient } from './integration' export class NotionClient implements IntegrationClient { - name = 'notion' + name = 'NOTION' apiUrl = 'https://api.notion.com/v1' headers = { 'Content-Type': 'application/json', @@ -24,6 +24,7 @@ export class NotionClient implements IntegrationClient { { grant_type: 'authorization_code', code, + redirect_uri: `${env.client.url}/settings/integrations`, }, { headers: {