Skip to content

Commit

Permalink
use PermissionLevel here instead of Permission request enum
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Mar 17, 2020
1 parent f6a9a47 commit 598c7c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Octokit/Models/Response/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -67,7 +67,7 @@ public Team(string url, int id, string nodeId, string slug, string name, string
/// <summary>
/// permission attached to this team
/// </summary>
public StringEnum<Permission> Permission { get; protected set; }
public StringEnum<PermissionLevel> Permission { get; protected set; }

/// <summary>
/// how many members in this team
Expand Down

0 comments on commit 598c7c3

Please sign in to comment.