mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
Bugfix: Update conversation counters in realtime (#944)
* Bug: Update conversation counters in realtime
This commit is contained in:
@@ -43,6 +43,16 @@ class ConversationApi extends ApiClient {
|
||||
mute(conversationId) {
|
||||
return axios.post(`${this.url}/${conversationId}/mute`);
|
||||
}
|
||||
|
||||
meta({ inboxId, status, assigneeType }) {
|
||||
return axios.get(`${this.url}/meta`, {
|
||||
params: {
|
||||
inbox_id: inboxId,
|
||||
status,
|
||||
assignee_type: assigneeType,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default new ConversationApi();
|
||||
|
||||
Reference in New Issue
Block a user