850041bc1d
fixes #1708 Co-authored-by: Pranav <pranav@chatwoot.com>
14 lines
291 B
JavaScript
14 lines
291 B
JavaScript
/* global axios */
|
|
import ApiClient from '../ApiClient';
|
|
|
|
class TwitterClient extends ApiClient {
|
|
constructor() {
|
|
super('twitter', { accountScoped: true });
|
|
}
|
|
|
|
generateAuthorization() {
|
|
return axios.post(`${this.url}/authorization`);
|
|
}
|
|
}
|
|
|
|
export default new TwitterClient();
|