mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Change to plural endpoints
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a711e608c9
commit
dc27d3bec9
|
@ -48,7 +48,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
]
|
||||
)->name('api.assets.requestable');
|
||||
|
||||
Route::post('personal-access-token',
|
||||
Route::post('personal-access-tokens',
|
||||
[
|
||||
Api\ProfileController::class,
|
||||
'createApiToken'
|
||||
|
@ -62,7 +62,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
]
|
||||
)->name('api.personal-access-token.index');
|
||||
|
||||
Route::delete('personal-access-token/{tokenId}',
|
||||
Route::delete('personal-access-tokens/{tokenId}',
|
||||
[
|
||||
Api\ProfileController::class,
|
||||
'deleteApiToken'
|
||||
|
|
Loading…
Reference in a new issue