From c03bb96bd4aa6f35dccdbec116ef3354cbe7d781 Mon Sep 17 00:00:00 2001 From: Whitestripe7773 Date: Wed, 12 Jan 2022 22:45:11 +0100 Subject: [PATCH] fix #2335 --- Octokit/Models/Response/GitHubApp.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Octokit/Models/Response/GitHubApp.cs b/Octokit/Models/Response/GitHubApp.cs index b96efa82db..182dd3b309 100644 --- a/Octokit/Models/Response/GitHubApp.cs +++ b/Octokit/Models/Response/GitHubApp.cs @@ -12,9 +12,10 @@ public class GitHubApp { public GitHubApp() { } - public GitHubApp(long id, string name, User owner, string description, string externalUrl, string htmlUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt) + public GitHubApp(long id, string slug, string name, User owner, string description, string externalUrl, string htmlUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt) { Id = id; + Slug = slug; Name = name; Owner = owner; Description = description; @@ -29,6 +30,11 @@ public GitHubApp(long id, string name, User owner, string description, string ex /// public long Id { get; protected set; } + /// + /// The url-friendly version of the repository name. + /// + public string Slug { get; protected set; } + /// /// The Name of the GitHub App. ///