We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1beb0 commit 03326b1Copy full SHA for 03326b1
lib/Github/HttpClient.php
@@ -14,7 +14,7 @@ abstract class Github_HttpClient implements Github_HttpClientInterface
14
*/
15
protected $options = array(
16
'protocol' => 'https',
17
- 'url' => ':protocol://api.github.com/:path',
+ 'url' => ':protocol://github.com/api/v2/:format/:path',
18
'format' => 'json',
19
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
20
'http_port' => 443,
0 commit comments