mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
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:
commit
959074f836
|
@ -460,7 +460,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
|
||||||
]
|
]
|
||||||
)->name('api.asset.audit');
|
)->name('api.asset.audit');
|
||||||
|
|
||||||
Route::post('checkin',
|
Route::post('{id}/checkin',
|
||||||
[
|
[
|
||||||
Api\AssetsController::class,
|
Api\AssetsController::class,
|
||||||
'checkin'
|
'checkin'
|
||||||
|
@ -474,7 +474,7 @@ Route::group(['prefix' => 'v1', 'middleware' => 'api'], function () {
|
||||||
]
|
]
|
||||||
)->name('api.asset.checkinbytag');
|
)->name('api.asset.checkinbytag');
|
||||||
|
|
||||||
Route::post('checkout',
|
Route::post('{id}/checkout',
|
||||||
[
|
[
|
||||||
Api\AssetsController::class,
|
Api\AssetsController::class,
|
||||||
'checkout'
|
'checkout'
|
||||||
|
|
Loading…
Reference in a new issue