Skip to content

Commit

Permalink
Making suggested adjustment to eliminate Guzzle error
Browse files Browse the repository at this point in the history
  • Loading branch information
snake14 committed Jul 30, 2024
1 parent 5e02a65 commit e6215d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Google/AuthorizationGA4.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function getClientClassArguments(): array
$proxyHttpHandler = \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Auth\HttpHandler\HttpHandlerFactory::build($proxyHttpClient);
$arguments['credentialsConfig'] = ['authHttpHandler' => $proxyHttpHandler, 'keyFile' => $arguments['keyFile']];
$arguments['transport'] = 'rest';
$arguments['transportConfig'] = ['rest' => ['httpHandler' => $proxyHttpHandler]];
$arguments['transportConfig'] = ['rest' => ['httpHandler' => [$proxyHttpHandler, 'async']]];

return $arguments;
}
Expand Down

0 comments on commit e6215d9

Please sign in to comment.