Skip to content

Commit 02b38a2

Browse files
committed
minor
1 parent f2b1a77 commit 02b38a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function __construct(Builder $httpClientBuilder = null, $apiVersion = nul
123123
)));
124124

125125
$this->apiVersion = $apiVersion ?: 'v3';
126-
$this->getHttpClientBuilder()->addHeaders(['Accept' => sprintf('application/vnd.github.%s+json', $this->apiVersion)]);
126+
$builder->addHeaders(['Accept' => sprintf('application/vnd.github.%s+json', $this->apiVersion)]);
127127

128128
if ($enterpriseUrl) {
129129
$this->setEnterpriseUrl($enterpriseUrl);

0 commit comments

Comments
 (0)