fix broadcast name
This commit is contained in:
1 parent
39be6f25c6
commit
544c782e84
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
export const userCreatedListener = (echo, userData, setNotifications, setunreadNotification, updatePendingMembers) => {
|
||||
export const adminNotificationsListener = (echo, userData, setNotifications, setunreadNotification, updatePendingMembers) => {
|
||||
if (userData.isAdmin) {
|
||||
const channelName = "users.registration";
|
||||
const channelName = "users.admin";
|
||||
echo.private(channelName)
|
||||
.listen(".users.registration", (event) => {
|
||||
const newNotification = {
|
||||
Reference in new issue
Block a user