Merge pull request #3787 from turbo124/v2

Fix for wrong variable
This commit is contained in:
David Bomba 2020-06-05 07:23:59 +10:00 committed by GitHub
commit 6eb85006da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -487,7 +487,7 @@ class CompanyGatewayController extends BaseController
$company_gateways->each(function ($company_gateway, $key) use ($action) {
if (auth()->user()->can('edit', $company_gateway)) {
$this->company_repo->{$action}($client);
$this->company_repo->{$action}($company_gateway);
}
});