mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for connected accounts
This commit is contained in:
parent
81a8e67b35
commit
a26fd73169
@ -95,6 +95,9 @@ class ConnectedAccountController extends BaseController
|
||||
{
|
||||
nlog($request->all());
|
||||
|
||||
if(!$request->has('account_token'))
|
||||
return response()->json(['message' => 'No access_token parameter found!'], 400);
|
||||
|
||||
$graph = new \Microsoft\Graph\Graph();
|
||||
$graph->setAccessToken($request->input('access_token'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user