diff --git a/app/Api/v1/Controllers/UserManagerController.php b/app/Api/v1/Controllers/UserManagerController.php index 779a6432..7a8ba4e0 100644 --- a/app/Api/v1/Controllers/UserManagerController.php +++ b/app/Api/v1/Controllers/UserManagerController.php @@ -23,7 +23,7 @@ class UserManagerController extends Controller */ public function index(Request $request) { - return UserManagerResource::collection(User::all()); + return UserManagerResource::collection(User::withCount('twofaccounts')->get()); } /**