Feature: Rich Message Types (#610)
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com> Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
parent
48f603798b
commit
b0950d6880
58 changed files with 997 additions and 146 deletions
7
app/javascript/widget/api/events.js
Normal file
7
app/javascript/widget/api/events.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { API } from 'widget/helpers/axios';
|
||||
|
||||
export default {
|
||||
create(name) {
|
||||
return API.post(`/api/v1/widget/events${window.location.search}`, { name });
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue