public function getAllUnreadNotifications() { $notifications = Notification::where('sent_to', auth()->user()->id)->orderBy('created_at', 'desc')->unread()->paginate(15)->jsonSerialize(); return response()->json($notifications, 200); }