diff --git a/src/Core/Services/Implementations/CipherService.cs b/src/Core/Services/Implementations/CipherService.cs
index 8b0bc9f705..b7d617b3de 100644
--- a/src/Core/Services/Implementations/CipherService.cs
+++ b/src/Core/Services/Implementations/CipherService.cs
@@ -323,7 +323,7 @@ namespace Bit.Core.Services
}
var org = await _organizationRepository.GetByIdAsync(organizationId);
- if(!org.MaxStorageGb.HasValue)
+ if(hasAttachments && !org.MaxStorageGb.HasValue)
{
throw new BadRequestException("This organization cannot use attachments.");
}
diff --git a/src/Sql/Sql.sqlproj b/src/Sql/Sql.sqlproj
index 18db60e1a1..fb5a8c04b1 100644
--- a/src/Sql/Sql.sqlproj
+++ b/src/Sql/Sql.sqlproj
@@ -205,7 +205,4 @@
-
-
-
\ No newline at end of file