mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 04:56:29 +00:00
use the new PUT method
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Octokit
|
||||
|
||||
var endpoint = "repos/{0}/{1}/collaborators/{2}".FormatUri(owner, repo, user);
|
||||
|
||||
return ApiConnection.Put<object>(endpoint, null);
|
||||
return ApiConnection.Put(endpoint);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user