Skip to content

Commit be574a5

Browse files
authored
Merge pull request #8 from A4N8/feature/fix-properly-return-notifiable
Fix properly return $notifiable
2 parents d9d3a66 + f99ae76 commit be574a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExpoChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function send($notifiable, Notification $notification)
4848
}
4949

5050
/** @var ExpoMessage $message */
51-
if (! ($message = $notification->toExpo($notification)) instanceof ExpoMessage) {
51+
if (! ($message = $notification->toExpo($notifiable)) instanceof ExpoMessage) {
5252
throw CouldNotSendNotification::couldNotCreateMessage($notification);
5353
}
5454

0 commit comments

Comments
 (0)