diff --git a/Octokit/Models/Response/Team.cs b/Octokit/Models/Response/Team.cs index 79e5db37d6..d4e934f682 100644 --- a/Octokit/Models/Response/Team.cs +++ b/Octokit/Models/Response/Team.cs @@ -12,7 +12,7 @@ public class Team { public Team() { } - public Team(string url, int id, string nodeId, string slug, string name, string description, TeamPrivacy privacy, Permission permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName) + public Team(string url, int id, string nodeId, string slug, string name, string description, TeamPrivacy privacy, PermissionLevel permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName) { Url = url; Id = id; @@ -67,7 +67,7 @@ public Team(string url, int id, string nodeId, string slug, string name, string /// /// permission attached to this team /// - public StringEnum Permission { get; protected set; } + public StringEnum Permission { get; protected set; } /// /// how many members in this team