@@ -208,12 +208,12 @@ |
||
| 208 | 208 | { |
| 209 | 209 | $body = ''; |
| 210 | 210 | $options = array_merge($this->getOptions(), $options); |
| 211 | - $options['auth'] = [$this->getKey() . ':', '']; |
|
| 211 | + $options['auth'] = [$this->getKey().':', '']; |
|
| 212 | 212 | |
| 213 | 213 | try { |
| 214 | - $response = $this->getHttpClient()->request($method, $this->getApiEndPoint() . $path, $options); |
|
| 214 | + $response = $this->getHttpClient()->request($method, $this->getApiEndPoint().$path, $options); |
|
| 215 | 215 | $this->setLastResponse($response); |
| 216 | - $body = json_decode((string)$response->getBody()); |
|
| 216 | + $body = json_decode((string) $response->getBody()); |
|
| 217 | 217 | } catch (BadResponseException $exception) { |
| 218 | 218 | $this->handleError($exception); |
| 219 | 219 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | { |
| 22 | 22 | $this->app['router']->aliasMiddleware('checkr_webhook', Webhook::class); |
| 23 | 23 | |
| 24 | - $this->app->bind('lyal.checkr', function () { |
|
| 24 | + $this->app->bind('lyal.checkr', function() { |
|
| 25 | 25 | $key = App::environment('production') ? config('checkr.production_key') : config('checkr.testing_key'); |
| 26 | 26 | |
| 27 | 27 | return new Client($key, config('checkr.options', [])); |