mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
17 lines
324 B
JavaScript
17 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();
|