mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-31 19:17:48 +00:00
Co-authored-by: Divyesh <dkothari@box8.in> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
15 lines
281 B
JavaScript
15 lines
281 B
JavaScript
/* global axios */
|
|
import ApiClient from './ApiClient';
|
|
|
|
class AccountAPI extends ApiClient {
|
|
constructor() {
|
|
super('', { accountScoped: true });
|
|
}
|
|
|
|
createAccount(data) {
|
|
return axios.post(`${this.apiVersion}/accounts`, data);
|
|
}
|
|
}
|
|
|
|
export default new AccountAPI();
|