mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update GoCardlessOAuthWebhookController.php
This commit is contained in:
parent
647ac08e80
commit
d34efa963f
@ -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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user