From 16917638b5c27786865158a55427460af76ba5c3 Mon Sep 17 00:00:00 2001 From: Maxime Renou Date: Mon, 11 May 2020 17:09:25 +0200 Subject: [PATCH] Fix --- config/bconnect.php | 2 +- src/Connect.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/bconnect.php b/config/bconnect.php index 512eba2..bb9288f 100644 --- a/config/bconnect.php +++ b/config/bconnect.php @@ -15,7 +15,7 @@ return [ /** * OAuth callback URL */ - 'redirect_url' => env('BCONNECT_REDIRECT', url('/oauth/callback')), + 'redirect_url' => env('BCONNECT_REDIRECT', 'http://localhost:8000/oauth/callback'), /** * OAuth client id diff --git a/src/Connect.php b/src/Connect.php index 62ab41e..f42ee80 100644 --- a/src/Connect.php +++ b/src/Connect.php @@ -13,7 +13,7 @@ class Connect protected $app; protected $synchronized = []; - public function __construct(array $app) + public function __construct($app) { $this->app = $app; }