Chatwoot/app/javascript/dashboard/api/assignableAgents.js
2022-05-23 19:24:07 +05:30

16 lines
324 B
JavaScript

/* global axios */
import ApiClient from './ApiClient';
class AssignableAgents extends ApiClient {
constructor() {
super('assignable_agents', { accountScoped: true });
}
get(inboxIds) {
return axios.get(this.url, {
params: { inbox_ids: inboxIds },
});
}
}
export default new AssignableAgents();