mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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');
|
)->name('api.assets.requestable');
|
||||||
|
|
||||||
Route::post('personal-access-token',
|
Route::post('personal-access-tokens',
|
||||||
[
|
[
|
||||||
Api\ProfileController::class,
|
Api\ProfileController::class,
|
||||||
'createApiToken'
|
'createApiToken'
|
||||||
|
@ -62,7 +62,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
]
|
]
|
||||||
)->name('api.personal-access-token.index');
|
)->name('api.personal-access-token.index');
|
||||||
|
|
||||||
Route::delete('personal-access-token/{tokenId}',
|
Route::delete('personal-access-tokens/{tokenId}',
|
||||||
[
|
[
|
||||||
Api\ProfileController::class,
|
Api\ProfileController::class,
|
||||||
'deleteApiToken'
|
'deleteApiToken'
|
||||||
|
|
Loading…
Reference in a new issue