From 707c0ccb36acb34d2d64ec91e673df60b270e4b0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 18 Feb 2019 23:37:35 -0500 Subject: [PATCH] remove business country from org signup --- .../Api/Request/Organizations/OrganizationCreateRequestModel.cs | 2 -- src/Core/Models/Business/OrganizationSignup.cs | 1 - src/Core/Services/Implementations/OrganizationService.cs | 1 - 3 files changed, 4 deletions(-) diff --git a/src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs b/src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs index 3d6b6cc7b3..032371319b 100644 --- a/src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs +++ b/src/Core/Models/Api/Request/Organizations/OrganizationCreateRequestModel.cs @@ -30,7 +30,6 @@ namespace Bit.Core.Models.Api [EncryptedString] [EncryptedStringLength(1000)] public string CollectionName { get; set; } - public string Country { get; set; } public virtual OrganizationSignup ToOrganizationSignup(User user) { @@ -46,7 +45,6 @@ namespace Bit.Core.Models.Api PremiumAccessAddon = PremiumAccessAddon, BillingEmail = BillingEmail, BusinessName = BusinessName, - BusinessCountry = Country, CollectionName = CollectionName }; } diff --git a/src/Core/Models/Business/OrganizationSignup.cs b/src/Core/Models/Business/OrganizationSignup.cs index 463b58e005..bafca087c1 100644 --- a/src/Core/Models/Business/OrganizationSignup.cs +++ b/src/Core/Models/Business/OrganizationSignup.cs @@ -6,7 +6,6 @@ namespace Bit.Core.Models.Business { public string Name { get; set; } public string BusinessName { get; set; } - public string BusinessCountry { get; set; } public string BillingEmail { get; set; } public User Owner { get; set; } public string OwnerKey { get; set; } diff --git a/src/Core/Services/Implementations/OrganizationService.cs b/src/Core/Services/Implementations/OrganizationService.cs index de61b1b9e5..3fba5d6a98 100644 --- a/src/Core/Services/Implementations/OrganizationService.cs +++ b/src/Core/Services/Implementations/OrganizationService.cs @@ -516,7 +516,6 @@ namespace Bit.Core.Services Name = signup.Name, BillingEmail = signup.BillingEmail, BusinessName = signup.BusinessName, - BusinessCountry = signup.BusinessCountry, PlanType = plan.Type, Seats = (short)(plan.BaseSeats + signup.AdditionalSeats), MaxCollections = plan.MaxCollections,