From 558cf87e17228a76a034171e78c4f1727392a4b8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 14 Feb 2019 15:26:44 -0500 Subject: [PATCH] < , not <= --- src/Core/Services/Implementations/CipherService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/Implementations/CipherService.cs b/src/Core/Services/Implementations/CipherService.cs index 8cc173eeb1..cb9ead0405 100644 --- a/src/Core/Services/Implementations/CipherService.cs +++ b/src/Core/Services/Implementations/CipherService.cs @@ -614,7 +614,7 @@ namespace Bit.Core.Services if(org != null && org.MaxCollections.HasValue) { var collectionCount = await _collectionRepository.GetCountByOrganizationIdAsync(org.Id); - if(org.MaxCollections.Value <= (collectionCount + collections.Count)) + if(org.MaxCollections.Value < (collectionCount + collections.Count)) { throw new BadRequestException("This organization can only have a maximum of " + $"{org.MaxCollections.Value} collections.");