From 52ccef85c6ede885429df658e088183362aefe41 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 7 Apr 2017 14:14:48 -0400 Subject: [PATCH] use one instead of 1 --- src/Core/Services/Implementations/OrganizationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Services/Implementations/OrganizationService.cs b/src/Core/Services/Implementations/OrganizationService.cs index e0f7f3e3e3..91538ace08 100644 --- a/src/Core/Services/Implementations/OrganizationService.cs +++ b/src/Core/Services/Implementations/OrganizationService.cs @@ -93,7 +93,7 @@ namespace Bit.Core.Services if(ownerExistingOrgs.Any(ou => ou.Type == Enums.OrganizationUserType.Owner || ou.Type == Enums.OrganizationUserType.Admin)) { - throw new BadRequestException("You can only be an admin of 1 free organization."); + throw new BadRequestException("You can only be an admin of one free organization."); } } else @@ -257,7 +257,7 @@ namespace Bit.Core.Services var existingOrgs = await _organizationUserRepository.GetManyByUserAsync(user.Id); if(existingOrgs.Any(ou => ou.Type == Enums.OrganizationUserType.Owner || ou.Type == Enums.OrganizationUserType.Admin)) { - throw new BadRequestException("You can only be an admin of 1 free organization."); + throw new BadRequestException("You can only be an admin of one free organization."); } var tokenValidationFailed = true;