From 43967ebbc17a33cbcf175a3168422e19a2ff98d9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 23 Jan 2019 22:40:19 -0500 Subject: [PATCH] increase folder limits on imports --- src/Api/Controllers/CiphersController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Controllers/CiphersController.cs b/src/Api/Controllers/CiphersController.cs index 8f61629572..bf85ef9603 100644 --- a/src/Api/Controllers/CiphersController.cs +++ b/src/Api/Controllers/CiphersController.cs @@ -220,7 +220,7 @@ namespace Bit.Api.Controllers { if(!_globalSettings.SelfHosted && (model.Ciphers.Count() > 5000 || model.FolderRelationships.Count() > 5000 || - model.Folders.Count() > 200)) + model.Folders.Count() > 1000)) { throw new BadRequestException("You cannot import this much data at once."); } @@ -237,7 +237,7 @@ namespace Bit.Api.Controllers { if(!_globalSettings.SelfHosted && (model.Ciphers.Count() > 5000 || model.CollectionRelationships.Count() > 5000 || - model.Collections.Count() > 200)) + model.Collections.Count() > 1000)) { throw new BadRequestException("You cannot import this much data at once."); }