Chatwoot/app/javascript/dashboard/api/channel/twitterClient.js

15 lines
291 B
JavaScript
Raw Normal View History

/* 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();