mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
return format
This commit is contained in:
parent
5615fc09e6
commit
8e4c0f60a1
|
@ -96,7 +96,9 @@ class ProfileController extends Controller
|
||||||
abort(403);
|
abort(403);
|
||||||
}
|
}
|
||||||
|
|
||||||
return view('account/api')->with('tokens', Auth::user()->tokens()->get());
|
return view('account/api', [
|
||||||
|
'tokens' => Auth::user()->tokens()->get(),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue