tiny fixes
[pharext/pharext.org] / app / Github / API.php
index 13373269ac86c30d144eff3d78addb2f8f49bcce..522cf146c6b6090872917897c904d52270b1101e 100644 (file)
@@ -50,7 +50,7 @@ class API
                $this->logger = $logger;
                $this->config = $config;
                $this->client = new Client("curl", "github");
-               $this->client->configure($config->http->configure);
+               $this->client->configure($config->http->configure->toArray());
                $this->client->attach(new ClientObserver($logger));
                $this->tokens = $tokens ?: new Storage\Session;
                $this->cache = $cache;