Notifications UI update and delete endpoint

This commit is contained in:
advplyr 2022-09-23 18:10:03 -05:00
parent b08ad8785e
commit 37a3fdb606
6 changed files with 95 additions and 21 deletions

View file

@ -210,7 +210,7 @@ export default {
}
console.log('Sending create notification', payload)
this.$axios
.$post('/api/notifications/event', payload)
.$post('/api/notifications', payload)
.then(() => {
this.$toast.success('Notification created')
})