diff --git a/app/Http/Controllers/Base/IndexController.php b/app/Http/Controllers/Base/IndexController.php index 6911e6a8a..5c3d4f401 100644 --- a/app/Http/Controllers/Base/IndexController.php +++ b/app/Http/Controllers/Base/IndexController.php @@ -38,7 +38,7 @@ class IndexController extends Controller */ public function getIndex(Request $request) { - $servers = $request->user()->access(); + $servers = $request->user()->access()->with('user'); if (! is_null($request->input('query'))) { $servers->search($request->input('query'));