Clean up v2 api points.

This commit is contained in:
James Cole
2023-10-29 06:09:21 +01:00
parent 4bb171128e
commit aa1a521cf0
7 changed files with 17 additions and 32 deletions

View File

@@ -45,23 +45,6 @@ class BalanceController extends Controller
{
use CleansChartData;
private AccountRepositoryInterface $repository;
/**
*
*/
public function __construct()
{
parent::__construct();
$this->middleware(
function ($request, $next) {
$this->repository = app(AccountRepositoryInterface::class);
return $next($request);
}
);
}
/**
* The code is practically a duplicate of ReportController::operations.
*