mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00: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();
|