Skip to content

Commit 03326b1

Browse files
committed
Revert Github API v3 URL as this library still uses v2
1 parent dc1beb0 commit 03326b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/HttpClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ abstract class Github_HttpClient implements Github_HttpClientInterface
1414
*/
1515
protected $options = array(
1616
'protocol' => 'https',
17-
'url' => ':protocol://api.github.com/:path',
17+
'url' => ':protocol://github.com/api/v2/:format/:path',
1818
'format' => 'json',
1919
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
2020
'http_port' => 443,

0 commit comments

Comments
 (0)