1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 23:22:52 +01:00

Refactor GoCardlessOAuthController to enable OAuth2 integration and set oauth2 flag to true.

This commit is contained in:
Benjamin Beganović 2024-06-14 18:20:01 +02:00
parent afe62f0aa8
commit bddb5d4b28

View File

@ -98,6 +98,7 @@ class GoCardlessOAuthController extends Controller
'active' => $response['active'],
'accessToken' => $response['access_token'],
'testMode' => $company_gateway->getConfigField('testMode'),
'oauth2' => true,
];
$company_gateway->setConfig($payload);