mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
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();
|