mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
16 lines
308 B
JavaScript
16 lines
308 B
JavaScript
import InboxMembersAPI from '../../api/inboxMembers';
|
|
|
|
export const actions = {
|
|
get(_, { inboxId }) {
|
|
return InboxMembersAPI.show(inboxId);
|
|
},
|
|
create(_, { inboxId, agentList }) {
|
|
return InboxMembersAPI.update({ inboxId, agentList });
|
|
},
|
|
};
|
|
|
|
export default {
|
|
namespaced: true,
|
|
actions,
|
|
};
|