feat: update auth

This commit is contained in:
Shivam Mishra
2025-06-18 19:25:56 +05:30
parent a9224a6c67
commit 6b5e4641ba
3 changed files with 42 additions and 6 deletions
@@ -0,0 +1,14 @@
/* 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();