mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
Co-authored-by: Pranav Raj S <[email protected]> Co-authored-by: Nithin David Thomas <[email protected]>
8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
import { API } from 'widget/helpers/axios';
|
|
|
|
export default {
|
|
create(name) {
|
|
return API.post(`/api/v1/widget/events${window.location.search}`, { name });
|
|
},
|
|
};
|