Bugfix: Update conversation counters in realtime (#944)

* Bug: Update conversation counters in realtime
This commit is contained in:
Pranav Raj S 2020-06-09 16:26:33 +05:30 committed by GitHub
parent 602132119b
commit 40481f6462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 99 additions and 14 deletions

View file

@ -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();