Skip to content

Commit

Permalink
Merge pull request ornicar#27 from mrmark/master
Browse files Browse the repository at this point in the history
Change URL back to Github API v2
  • Loading branch information
ornicar committed Mar 7, 2012
2 parents dc1beb0 + 03326b1 commit 209e45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Github/HttpClient.php
Expand Up @@ -14,7 +14,7 @@ abstract class Github_HttpClient implements Github_HttpClientInterface
*/
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,
Expand Down

0 comments on commit 209e45f

Please sign in to comment.