Update GoCardlessOAuthWebhookController.php

This commit is contained in:
Benjamin Beganović 2024-06-15 00:14:03 +02:00 committed by GitHub
parent 647ac08e80
commit d34efa963f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ class GoCardlessOAuthWebhookController extends Controller
/** @var \App\Models\CompanyGateway $company_gateway */ /** @var \App\Models\CompanyGateway $company_gateway */
$company_gateway = CompanyGateway::query() $company_gateway = CompanyGateway::query()
->whereJsonCotains('config->account_id', $e['links.organisation']) ->whereJsonContains('config->account_id', $e['links.organisation'])
->firstOrFail(); ->firstOrFail();
$current = $company_gateway->getConfig('__current'); $current = $company_gateway->getConfig('__current');