mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
Implement Observable Organization Members API
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Octokit
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(org, "org");
|
||||
|
||||
return ApiConnection.GetAll<User>("orgs/{0}/members".FormatUri(org));
|
||||
return ApiConnection.GetAll<User>(ApiUrls.Members(org));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -51,7 +51,7 @@ namespace Octokit
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(org, "org");
|
||||
|
||||
return ApiConnection.GetAll<User>("orgs/{0}/public_members".FormatUri(org));
|
||||
return ApiConnection.GetAll<User>(ApiUrls.PublicMembers(org));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user