diff --git a/app/Api/V1/Controllers/Models/Account/ShowController.php b/app/Api/V1/Controllers/Models/Account/ShowController.php index 3fdb1982c9..2c497efb91 100644 --- a/app/Api/V1/Controllers/Models/Account/ShowController.php +++ b/app/Api/V1/Controllers/Models/Account/ShowController.php @@ -83,7 +83,7 @@ class ShowController extends Controller // get list of accounts. Count it and split it. $this->repository->resetAccountOrder(); // TODO fix sort. - $collection = $this->repository->getAccountsByType($types, null); + $collection = $this->repository->getAccountsByType($types); $count = $collection->count(); // continue sort: