mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Switch to post
This commit is contained in:
parent
c8c5c05351
commit
c5dd33f213
|
@ -177,14 +177,14 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
|
|||
|
||||
Route::group(['prefix' => 'hardware'], function () {
|
||||
|
||||
Route::get('{asset_id}/checkout',
|
||||
Route::post('{asset_id}/checkout',
|
||||
[
|
||||
'as' => 'api.assets.checkout',
|
||||
'uses' => 'AssetsController@checkout'
|
||||
]
|
||||
);
|
||||
|
||||
Route::get('{asset_id}/checkin',
|
||||
Route::post('{asset_id}/checkin',
|
||||
[
|
||||
'as' => 'api.assets.checkin',
|
||||
'uses' => 'AssetsController@checkin'
|
||||
|
|
Loading…
Reference in a new issue