Skip to content

Commit

Permalink
bugfix for incorrect type and nullable for some org vars (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbw2 committed Jul 16, 2021
1 parent 96454b7 commit a4db088
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Core/Models/Data/OrganizationData.cs
Expand Up @@ -43,8 +43,8 @@ public OrganizationData(ProfileOrganizationResponse response)
public bool UsePolicies { get; set; }
public bool SelfHost { get; set; }
public bool UsersGetPremium { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public int? Seats { get; set; }
public short? MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }
public Permissions Permissions { get; set; } = new Permissions();
}
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Models/Domain/Organization.cs
Expand Up @@ -43,8 +43,8 @@ public Organization(OrganizationData obj)
public bool UsePolicies { get; set; }
public bool SelfHost { get; set; }
public bool UsersGetPremium { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public int? Seats { get; set; }
public short? MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }
public Permissions Permissions { get; set; } = new Permissions();

Expand Down
4 changes: 2 additions & 2 deletions src/Core/Models/Response/ProfileOrganizationResponse.cs
Expand Up @@ -16,8 +16,8 @@ public class ProfileOrganizationResponse
public bool UsePolicies { get; set; }
public bool UsersGetPremium { get; set; }
public bool SelfHost { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public int? Seats { get; set; }
public short? MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }
public string Key { get; set; }
public OrganizationUserStatusType Status { get; set; }
Expand Down

0 comments on commit a4db088

Please sign in to comment.