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; }