From 4010a7c124c539799fd5abe466dc287a72d618ae Mon Sep 17 00:00:00 2001 From: Alain Tiemblo Date: Mon, 30 Jan 2017 17:41:44 +0100 Subject: [PATCH] fix missing curl parameter in constructor --- lib/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Client.php b/lib/Client.php index a383cc0..cb9b24f 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -105,7 +105,7 @@ private function buildClient($name = null) if (isset($name)) { $this->path[] = $name; } - $client = new Client($this->host, $this->headers, $this->version, $this->path); + $client = new Client($this->host, $this->headers, $this->version, $this->path, $this->curlOptions); $this->path = []; return $client; }