Chatwoot/app/javascript/dashboard/api/agents.js
Pranav Raj S 2ce7438c79 [Refactor] Cleanup agent store and actions (#373)
* Cleanup agent store and actions

* Move set/create/update/destroy to helpers

* Update mutation specs

* Add specs for API helper

* Fix edit/delete action visibility

* Add actions specs

* Remove unused API helpers

* Remove duplicates

* Remove duplicates

* Fix duplicate
2019-12-21 22:54:35 +05:30

9 lines
146 B
JavaScript

import ApiClient from './ApiClient';
class Agents extends ApiClient {
constructor() {
super('agents');
}
}
export default new Agents();