changes api checkin and checkout routes to post

This commit is contained in:
Godfrey M 2022-07-20 11:52:54 -07:00
parent e72c4f989f
commit 0c4c4fc352

View file

@ -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'