From a0a41a57569e4030b6d4dcfe37ec70ee2e30e452 Mon Sep 17 00:00:00 2001 From: mahdihty Date: Sun, 14 Mar 2021 13:55:16 +0330 Subject: [PATCH] some change in notification helper --- app/Utilities/HelperClass/NotificationHelper.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/Utilities/HelperClass/NotificationHelper.php b/app/Utilities/HelperClass/NotificationHelper.php index 582989b..87b61b9 100644 --- a/app/Utilities/HelperClass/NotificationHelper.php +++ b/app/Utilities/HelperClass/NotificationHelper.php @@ -62,14 +62,11 @@ class NotificationHelper case "medium": Notification::send($users, new FcmNotification($notif)); case "low": -// Notification::send($users, new SocketNotification($notif)); + Notification::send($users, new SocketNotification($notif)); + break; default: -// Notification::send($users, new SocketNotification($notif)); + Notification::send($users, new SocketNotification($notif)); } - -// Notification::send($users, new MailNotification($this->notif)); -// Notification::send($users, new DBNotification($this->notif)); -// Notification::send($users, new FcmNotification($this->notif)); } }