mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 02:57:57 +00:00 
			
		
		
		
	 89ed0b425b
			
		
	
	89ed0b425b
	
	
	
		
			
			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();
 |