return format

This commit is contained in:
spencerrlongg 2023-11-08 17:36:54 -06:00
parent 5615fc09e6
commit 8e4c0f60a1

View file

@ -96,7 +96,9 @@ class ProfileController extends Controller
abort(403);
}
return view('account/api')->with('tokens', Auth::user()->tokens()->get());
return view('account/api', [
'tokens' => Auth::user()->tokens()->get(),
]);
}
/**