Unable to create notifications
Trying to create notifications in the database, i followed the docs but when i use any of the recommended methods it doesn't throw a error nor does it create a notification, any idea why?
Methods that i tried:
$recipient = auth()->user();
Notification::make()
->title('Saved successfully')
->sendToDatabase($recipient);
$recipient = auth()->user();
$recipient->notify(
Notification::make()
->title('Saved successfully')
->toDatabase(),
);
Currently using laravel 11 and the latest version of filament "filament/filament": "^3.2.115"
Methods that i tried:
$recipient = auth()->user();
Notification::make()
->title('Saved successfully')
->sendToDatabase($recipient);
$recipient = auth()->user();
$recipient->notify(
Notification::make()
->title('Saved successfully')
->toDatabase(),
);
Currently using laravel 11 and the latest version of filament "filament/filament": "^3.2.115"