mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix redirect_uri error
This commit is contained in:
parent
94db3e0de7
commit
d36c937765
1 changed files with 2 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue