diff --git a/src/Core/Models/Data/OrganizationData.cs b/src/Core/Models/Data/OrganizationData.cs index 926bb71ff63..7fe8f94be4b 100644 --- a/src/Core/Models/Data/OrganizationData.cs +++ b/src/Core/Models/Data/OrganizationData.cs @@ -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(); } diff --git a/src/Core/Models/Domain/Organization.cs b/src/Core/Models/Domain/Organization.cs index 77676b1d5b3..7e204621285 100644 --- a/src/Core/Models/Domain/Organization.cs +++ b/src/Core/Models/Domain/Organization.cs @@ -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(); diff --git a/src/Core/Models/Response/ProfileOrganizationResponse.cs b/src/Core/Models/Response/ProfileOrganizationResponse.cs index 0036c337aec..504a75db8e5 100644 --- a/src/Core/Models/Response/ProfileOrganizationResponse.cs +++ b/src/Core/Models/Response/ProfileOrganizationResponse.cs @@ -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; }