mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
Fixed #8613 - 500 error on deleted users API call
This commit is contained in:
parent
b7e8b9bad7
commit
b9330cf6b1
|
@ -67,7 +67,7 @@ class UsersController extends Controller
|
|||
|
||||
|
||||
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
|
||||
$users = $users->GetDeleted();
|
||||
$users = $users->onlyTrashed();
|
||||
}
|
||||
|
||||
if ($request->filled('company_id')) {
|
||||
|
|
Loading…
Reference in a new issue