89ed0b425b
Co-authored-by: Divyesh <dkothari@box8.in> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
14 lines
281 B
JavaScript
14 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();
|