From 2d637320852f66f1737342c16944513ea0ad2cad Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 12 Jun 2019 22:09:32 -0400 Subject: [PATCH] normalize billing email --- .../Api/Request/Organizations/OrganizationUpdateRequestModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Models/Api/Request/Organizations/OrganizationUpdateRequestModel.cs b/src/Core/Models/Api/Request/Organizations/OrganizationUpdateRequestModel.cs index b866f1289..b70ade07a 100644 --- a/src/Core/Models/Api/Request/Organizations/OrganizationUpdateRequestModel.cs +++ b/src/Core/Models/Api/Request/Organizations/OrganizationUpdateRequestModel.cs @@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api { existingOrganization.Name = Name; existingOrganization.BusinessName = BusinessName; - existingOrganization.BillingEmail = BillingEmail; + existingOrganization.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim(); return existingOrganization; } }