Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Refer to middleware
James Colee32023bb9755
diff --git a/app/Api/V2/Controllers/Controller.php b/app/Api/V2/Controllers/Controller.phpindex 93eccb8aff..4e518038f4 100644--- a/app/Api/V2/Controllers/Controller.php+++ b/app/Api/V2/Controllers/Controller.php@@ -56,7 +56,14 @@ class Controller extends BaseController*/public function __construct(){- $this->parameters = $this->getParameters();+ $this->middleware(+ function ($request, $next) {+ $this->parameters = $this->getParameters();++ return $next($request);+ }+ );+}/**