mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Made method naming consistent
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1158fa9ea8
commit
413487de80
|
@ -123,7 +123,7 @@ class ProfileController extends Controller
|
|||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function showTokens(Request $request) {
|
||||
public function showApiTokens(Request $request) {
|
||||
|
||||
$tokens = $this->tokenRepository->forUser(Auth::user()->getAuthIdentifier());
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
Route::get('personal-access-tokens',
|
||||
[
|
||||
Api\ProfileController::class,
|
||||
'showTokens'
|
||||
'showApiTokens'
|
||||
]
|
||||
)->name('api.personal-access-token.index');
|
||||
|
||||
|
|
Loading…
Reference in a new issue