Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Change URL back to Github API v2 #27

Merged
merged 1 commit into from Mar 7, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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