diff --git a/src/MollieServiceProvider.php b/src/MollieServiceProvider.php index 80312b4..118f9f9 100644 --- a/src/MollieServiceProvider.php +++ b/src/MollieServiceProvider.php @@ -45,7 +45,7 @@ */ class MollieServiceProvider extends ServiceProvider { - const PACKAGE_VERSION = '2.20.0'; + const PACKAGE_VERSION = '2.20.1'; /** * Boot the service provider. @@ -131,7 +131,8 @@ protected function registerApiAdapter() protected function registerApiClient() { $this->app->singleton('mollie.api.client', function () { - return (new MollieApiClient(new MollieLaravelHttpClientAdapter()))->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); + // return (new MollieApiClient(new MollieLaravelHttpClientAdapter()))->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); + return (new MollieApiClient())->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); }); $this->app->alias('mollie.api.client', MollieApiClient::class);