added fixes in client

This commit is contained in:
aedampir@gmail.com
2016-06-17 18:14:40 +07:00
parent b16ef25f38
commit 74a7ef685a

View File

@@ -733,7 +733,7 @@ namespace Octokit
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(name, "name");
return GetAllContributors(owner, name, false, ApiOptions.None);
return GetAllContributors(owner, name, includeAnonymous, ApiOptions.None);
}
/// <summary>
@@ -747,7 +747,7 @@ namespace Octokit
/// <returns>All contributors of the repository.</returns>
public Task<IReadOnlyList<RepositoryContributor>> GetAllContributors(int repositoryId, bool includeAnonymous)
{
return GetAllContributors(repositoryId, false, ApiOptions.None);
return GetAllContributors(repositoryId, includeAnonymous, ApiOptions.None);
}
/// <summary>
@@ -879,7 +879,8 @@ namespace Octokit
Ensure.ArgumentNotNullOrEmptyString(name, "name");
Ensure.ArgumentNotNull(options, "options");
return ApiConnection.GetAll<Team>(ApiUrls.RepositoryTeams(owner, name), options);
var repositoryTeams = ApiUrls.RepositoryTeams(owner, name);
return ApiConnection.GetAll<Team>(repositoryTeams, options);
}
/// <summary>