by default you want the GitHub API

This commit is contained in:
Brendan Forster
2015-05-08 18:26:13 +09:30
parent b51598d8b1
commit 177290473e

View File

@@ -23,7 +23,7 @@ namespace Octokit
/// the user agent for analytics purposes.
/// </param>
public GitHubClient(ProductHeaderValue productInformation)
: this(new Connection(productInformation))
: this(new Connection(productInformation, GitHubApiUrl))
{
}