Made method naming consistent

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-28 21:32:12 -07:00
parent 1158fa9ea8
commit 413487de80
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ class ProfileController extends Controller
* *
* @return \Illuminate\Http\Response * @return \Illuminate\Http\Response
*/ */
public function showTokens(Request $request) { public function showApiTokens(Request $request) {
$tokens = $this->tokenRepository->forUser(Auth::user()->getAuthIdentifier()); $tokens = $this->tokenRepository->forUser(Auth::user()->getAuthIdentifier());

View file

@ -58,7 +58,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
Route::get('personal-access-tokens', Route::get('personal-access-tokens',
[ [
Api\ProfileController::class, Api\ProfileController::class,
'showTokens' 'showApiTokens'
] ]
)->name('api.personal-access-token.index'); )->name('api.personal-access-token.index');