mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-19 21:52:35 +00:00
12 lines
286 B
JavaScript
Executable File
12 lines
286 B
JavaScript
Executable File
import authEndPoint from 'widget/api/endPoints';
|
|
import { API } from 'widget/helpers/axios';
|
|
|
|
export default {
|
|
update: ({ messageId, email }) => {
|
|
const urlData = authEndPoint.updateContact(messageId);
|
|
return API.patch(urlData.url, {
|
|
contact: { email },
|
|
});
|
|
},
|
|
};
|