mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-19 21:07:35 +08:00
15 lines
276 B
JavaScript
15 lines
276 B
JavaScript
/* global axios */
|
|
import ApiClient from './ApiClient';
|
|
|
|
class ContactAPI extends ApiClient {
|
|
constructor() {
|
|
super('contacts');
|
|
}
|
|
|
|
getConversations(contactId) {
|
|
return axios.get(`${this.url}/${contactId}/conversations`);
|
|
}
|
|
}
|
|
|
|
export default new ContactAPI();
|