X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI.php;h=522cf146c6b6090872917897c904d52270b1101e;hb=bc779094fcd9c484492979bc73f04ba0cf914c85;hp=13373269ac86c30d144eff3d78addb2f8f49bcce;hpb=e7943cab5bdac9b214a065edf129cecc5db20af7;p=pharext%2Fpharext.org diff --git a/app/Github/API.php b/app/Github/API.php index 1337326..522cf14 100644 --- a/app/Github/API.php +++ b/app/Github/API.php @@ -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;