Skip to content

Commit 54ae65e

Browse files
Update dispatch to event for triggering Event based notifications
1 parent cee8c81 commit 54ae65e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NotificationHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ protected function sendNotificationTo($whom, $who_type)
223223
);
224224

225225
$notification = Notify::create($notify_builder);
226-
227-
dispatch(new NotificationSent($notification));
226+
227+
event(new NotificationSent($notification));
228228

229229
return $notification;
230230
}

0 commit comments

Comments
 (0)