1
0
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:
David Bomba 2022-06-25 08:49:12 +10:00
parent 81a8e67b35
commit a26fd73169

View File

@ -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'));