Permalink
Browse files

Revert Github API v3 URL as this library still uses v2

  • Loading branch information...
1 parent dc1beb0 commit 03326b115a3c8cc993f4b83139af3041d2756dd5 @mrmark mrmark committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Github/HttpClient.php
View
2 lib/Github/HttpClient.php
@@ -14,7 +14,7 @@
*/
protected $options = array(
'protocol' => 'https',
- 'url' => ':protocol://api.github.com/:path',
+ 'url' => ':protocol://github.com/api/v2/:format/:path',
'format' => 'json',
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
'http_port' => 443,

0 comments on commit 03326b1

Please sign in to comment.