From b67d0a8468df1d925739437deaa5c6c18121ca6f Mon Sep 17 00:00:00 2001 From: Mitch Capper Date: Wed, 3 Jan 2024 13:56:36 -0800 Subject: [PATCH] Fixes PushId datatype to not overflow (fix user activity exception) Bug introduced in #2795 Closes #2822 --- Octokit/Models/Response/ActivityPayloads/PushEventPayload.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Octokit/Models/Response/ActivityPayloads/PushEventPayload.cs b/Octokit/Models/Response/ActivityPayloads/PushEventPayload.cs index e4e3e26a85..18c9b0b97a 100644 --- a/Octokit/Models/Response/ActivityPayloads/PushEventPayload.cs +++ b/Octokit/Models/Response/ActivityPayloads/PushEventPayload.cs @@ -6,7 +6,7 @@ namespace Octokit [DebuggerDisplay("{DebuggerDisplay,nq}")] public class PushEventPayload : ActivityPayload { - public int PushId { get; private set; } + public long PushId { get; private set; } public int DistinctSize { get; private set; } public string Before { get; private set; } public string Head { get; private set; }