mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -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');
|
||||
|
||||
Route::get('{accessory}/checkout',
|
||||
Route::post('{accessory}/checkout',
|
||||
[
|
||||
Api\AccessoriesController::class,
|
||||
'checkout'
|
||||
|
@ -94,7 +94,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
)->name('api.accessories.checkout');
|
||||
|
||||
|
||||
Route::get('{accessory}/checkin',
|
||||
Route::post('{accessory}/checkin',
|
||||
[
|
||||
Api\AccessoriesController::class,
|
||||
'checkin'
|
||||
|
|
Loading…
Reference in a new issue