@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | ->exchangeAuthorizationCodeForToken($code, $realm_id); |
| 124 | 124 | |
| 125 | 125 | $this->getDataService() |
| 126 | - ->updateOAuth2Token($oauth_token); |
|
| 126 | + ->updateOAuth2Token($oauth_token); |
|
| 127 | 127 | |
| 128 | 128 | $this->token->parseOauthToken($oauth_token) |
| 129 | 129 | ->save(); |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | if (!$this->hasValidAccessToken() || !isset($this->report_service)) { |
| 166 | 166 | $this->report_service = new ReportService( |
| 167 | 167 | $this->getDataService() |
| 168 | - ->getServiceContext() |
|
| 168 | + ->getServiceContext() |
|
| 169 | 169 | ); |
| 170 | 170 | } |
| 171 | 171 | |
@@ -42,8 +42,8 @@ |
||
| 42 | 42 | $this->app->bind(Client::class, function (Application $app) { |
| 43 | 43 | $token = ($app->auth->user()->quickBooksToken) |
| 44 | 44 | ? : $app->auth->user() |
| 45 | - ->quickBooksToken() |
|
| 46 | - ->make(); |
|
| 45 | + ->quickBooksToken() |
|
| 46 | + ->make(); |
|
| 47 | 47 | |
| 48 | 48 | return new Client($app->config->get('quickbooks'), $token); |
| 49 | 49 | }); |