From 07f06da4e5859497e93f1d448097cf6dae6310b9 Mon Sep 17 00:00:00 2001 From: Ben Speakman Date: Wed, 10 Jun 2015 17:19:35 +0100 Subject: [PATCH] Resolve Guzzle from IOC --- src/Cyberduck/LaravelWpApi/LaravelWpApiServiceProvider.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Cyberduck/LaravelWpApi/LaravelWpApiServiceProvider.php b/src/Cyberduck/LaravelWpApi/LaravelWpApiServiceProvider.php index ddd9d89..a01b23f 100755 --- a/src/Cyberduck/LaravelWpApi/LaravelWpApiServiceProvider.php +++ b/src/Cyberduck/LaravelWpApi/LaravelWpApiServiceProvider.php @@ -1,7 +1,6 @@ app['config']->get('wp-api.endpoint'); $auth = $this->app['config']->get('wp-api.auth'); - $client = new Client(); + $client = $this->app->make('GuzzleHttp\Client'); return new WpApi($endpoint, $client, $auth);