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:
parent
afe62f0aa8
commit
bddb5d4b28
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user