feat: Render contact custom attributes in contact/conversation sidebar (#3310)
This commit is contained in:
@@ -60,6 +60,12 @@ class ContactAPI extends ApiClient {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
});
|
||||
}
|
||||
|
||||
destroyCustomAttributes(contactId, customAttributes) {
|
||||
return axios.post(`${this.url}/${contactId}/destroy_custom_attributes`, {
|
||||
custom_attributes: customAttributes,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default new ContactAPI();
|
||||
|
||||
Reference in New Issue
Block a user