Addded dd fior checking web push
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 10s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 9s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 13s
Laravel Larastan / larastan (pull_request) Failing after 2m34s
Laravel Pint / pint (pull_request) Failing after 2m33s

This commit is contained in:
dhanabalan
2026-01-24 14:30:44 +05:30
parent a1b8cc0eed
commit d333324935

View File

@@ -64,6 +64,8 @@ class PushAlertNotification extends Notification
public function toWebPush($notifiable, $notification) public function toWebPush($notifiable, $notification)
{ {
dd($this->title,$this->body);
return (new WebPushMessage) return (new WebPushMessage)
->title($this->title) ->title($this->title)
->icon('/pwa-192x192.png') ->icon('/pwa-192x192.png')