wip
This commit is contained in:
@@ -9,7 +9,6 @@ class AlertController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return auth()->id();
|
|
||||||
$alerstQuery = auth()->user()->alerts()->whereNull('seen_at');
|
$alerstQuery = auth()->user()->alerts()->whereNull('seen_at');
|
||||||
|
|
||||||
$alerts = $alerstQuery->get();
|
$alerts = $alerstQuery->get();
|
||||||
|
|||||||
Reference in New Issue
Block a user