Skip to content

Commit

Permalink
use jetstream render
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 10, 2020
1 parent 29a7d03 commit 4929383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Inertia/ApiTokenController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ApiTokenController extends Controller
*/
public function index(Request $request)
{
return Inertia::render('API/Index', [
return Jetstream::inertia()->render('API/Index', [
'tokens' => $request->user()->tokens,
'availablePermissions' => Jetstream::$permissions,
'defaultPermissions' => Jetstream::$defaultPermissions,
Expand Down

0 comments on commit 4929383

Please sign in to comment.