update package fcm
This commit is contained in:
@@ -30,7 +30,7 @@ class SendNotification extends Notification
|
||||
public function toFcm($notifiable)
|
||||
{
|
||||
return FcmMessage::create()
|
||||
->setData($this->data) // Menggunakan $this->data
|
||||
->setData($this->data)
|
||||
->setNotification([
|
||||
'title' => $this->title,
|
||||
'body' => $this->body,
|
||||
|
||||
Reference in New Issue
Block a user