mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
changes api checkin and checkout routes to post
This commit is contained in:
parent
e72c4f989f
commit
0c4c4fc352
|
@ -86,7 +86,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
]
|
]
|
||||||
)->name('api.accessories.checkedout');
|
)->name('api.accessories.checkedout');
|
||||||
|
|
||||||
Route::get('{accessory}/checkout',
|
Route::post('{accessory}/checkout',
|
||||||
[
|
[
|
||||||
Api\AccessoriesController::class,
|
Api\AccessoriesController::class,
|
||||||
'checkout'
|
'checkout'
|
||||||
|
@ -94,7 +94,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
)->name('api.accessories.checkout');
|
)->name('api.accessories.checkout');
|
||||||
|
|
||||||
|
|
||||||
Route::get('{accessory}/checkin',
|
Route::post('{accessory}/checkin',
|
||||||
[
|
[
|
||||||
Api\AccessoriesController::class,
|
Api\AccessoriesController::class,
|
||||||
'checkin'
|
'checkin'
|
||||||
|
|
Loading…
Reference in a new issue