mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
Some checks failed
Frontend Lint & Test / test (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot EE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/amd64, ubuntu-latest) (push) Has been cancelled
Publish Chatwoot CE docker images / build (linux/arm64, ubuntu-22.04-arm) (push) Has been cancelled
Run Chatwoot CE spec / test (push) Has been cancelled
Publish Chatwoot EE docker images / merge (push) Has been cancelled
Publish Chatwoot CE docker images / merge (push) Has been cancelled
Co-authored-by: Muhsin Keloth <[email protected]>
15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
/* global axios */
|
|
import ApiClient from './ApiClient';
|
|
|
|
class NotionOAuthClient extends ApiClient {
|
|
constructor() {
|
|
super('notion', { accountScoped: true });
|
|
}
|
|
|
|
generateAuthorization() {
|
|
return axios.post(`${this.url}/authorization`);
|
|
}
|
|
}
|
|
|
|
export default new NotionOAuthClient();
|