mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Re-Added Accessories API
#8312 #8624 Removed unnecessary duplicate licenses endpoint and re-added the user accessories endpoint which was left off.
This commit is contained in:
parent
e8fd2a7fe8
commit
911841d188
|
@ -808,10 +808,10 @@ Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'auth:api']
|
|||
);
|
||||
|
||||
|
||||
Route::get('{user}/licenses',
|
||||
Route::get('{user}/accessories',
|
||||
[
|
||||
'as' => 'api.users.licenselist',
|
||||
'uses' => 'UsersController@licenses'
|
||||
'as' => 'api.users.accessorieslist',
|
||||
'uses' => 'UsersController@accessories'
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue