Merge pull request #10625 from inietov/fixes/checkin_checkout_api_routes_broken

Fixes #10614 Checkin/Checkout API route's broken
This commit is contained in:
snipe 2022-02-07 11:56:48 -08:00 committed by GitHub
commit 959074f836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,7 +460,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
]
)->name('api.asset.audit');
Route::post('checkin',
Route::post('{id}/checkin',
[
Api\AssetsController::class,
'checkin'
@ -474,7 +474,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
]
)->name('api.asset.checkinbytag');
Route::post('checkout',
Route::post('{id}/checkout',
[
Api\AssetsController::class,
'checkout'