1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Handle multi db on return for Stripe Connect

This commit is contained in:
David Bomba 2021-08-17 12:18:10 +10:00
parent d2f186962b
commit 2144451c52

View File

@ -80,6 +80,8 @@ class StripeConnectController extends BaseController
nlog($e->getMessage());
}
MultiDB::findAndSetDbByCompanyKey($request->getTokenContent()['company_key']);
$company = Company::where('company_key', $request->getTokenContent()['company_key'])->first();