update controller

This commit is contained in:
Benjamin Beganović 2024-10-01 11:10:44 +02:00 committed by GitHub
parent 4146464142
commit 2a4ad19ed2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ class GoCardlessOAuthWebhookController extends Controller
/** @var \App\Models\CompanyGateway $company_gateway */ /** @var \App\Models\CompanyGateway $company_gateway */
$cg = CompanyGateway::on($db) $cg = CompanyGateway::on($db)
->where('settings->organisation_id', $e['links.organisation']) ->where('settings->organisation_id', $e['links.organisation'])
->exists() ->first()
) { ) {
$company_gateway = $cg; $company_gateway = $cg;