mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
WIP booking updated feature
This commit is contained in:
@@ -21,4 +21,9 @@ class UserController extends Controller
|
||||
$user = Auth::user();
|
||||
return $user->loadMissing('notifications');
|
||||
}
|
||||
|
||||
public function notifications()
|
||||
{
|
||||
return auth()->user()->unreadNotifications()->limit(5)->get()->toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user