mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Pass ID of the checkin/checkout assets in API
This commit is contained in:
parent
f2b8091b31
commit
b4d2b1322f
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue