mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
change UserId key to User
See https://developer.github.com/changes/2016-06-07-reactions-api-update/ for more information
This commit is contained in:
@@ -22,10 +22,10 @@ namespace Octokit
|
||||
{
|
||||
public Reaction() { }
|
||||
|
||||
public Reaction(int id, int userId, ReactionType content)
|
||||
public Reaction(int id, User user, ReactionType content)
|
||||
{
|
||||
Id = id;
|
||||
UserId = userId;
|
||||
User = user;
|
||||
Content = content;
|
||||
}
|
||||
|
||||
@@ -35,9 +35,9 @@ namespace Octokit
|
||||
public int Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The UserId.
|
||||
/// Information about the user.
|
||||
/// </summary>
|
||||
public int UserId { get; protected set; }
|
||||
public User User { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The reaction type for this commit comment.
|
||||
|
||||
Reference in New Issue
Block a user