From 413487de807e5e27368c1288fa507285edaf1ab6 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 28 Jun 2022 21:32:12 -0700 Subject: [PATCH] Made method naming consistent Signed-off-by: snipe --- app/Http/Controllers/Api/ProfileController.php | 2 +- routes/api.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Api/ProfileController.php b/app/Http/Controllers/Api/ProfileController.php index 4794fc86a8..a2902b145e 100644 --- a/app/Http/Controllers/Api/ProfileController.php +++ b/app/Http/Controllers/Api/ProfileController.php @@ -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()); diff --git a/routes/api.php b/routes/api.php index 0a3ab2b0a5..85110a8b75 100644 --- a/routes/api.php +++ b/routes/api.php @@ -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');