May 7, 2017
0
Level 6
Laravel Echo don't return notification created_at date
Hi,
I use actuelement laravel echo with notification.
Echo.private('App.User.' + window.Laravel.userId).notification((notification) => {
commit('addNewNotif', data)
})
The problem is that in the data var, I don't get the created_at but only the id, the type and the data. How to add the created_at ?
Please or to participate in this conversation.