From 190abff982e2dbaf7a678a9fe7dbe1cb13dc6640 Mon Sep 17 00:00:00 2001 From: maddin2016 Date: Wed, 8 Jun 2016 15:06:39 +0200 Subject: [PATCH] change UserId key to User See https://developer.github.com/changes/2016-06-07-reactions-api-update/ for more information --- Octokit/Models/Response/Reaction.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Octokit/Models/Response/Reaction.cs b/Octokit/Models/Response/Reaction.cs index 6174a77b..b646a169 100644 --- a/Octokit/Models/Response/Reaction.cs +++ b/Octokit/Models/Response/Reaction.cs @@ -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; } /// - /// The UserId. + /// Information about the user. /// - public int UserId { get; protected set; } + public User User { get; protected set; } /// /// The reaction type for this commit comment.