mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
Remove FlexibleCollections check from OrganizationsController (#4123)
This commit is contained in:
parent
6a0eae417d
commit
62c90bc50a
@ -538,11 +538,6 @@ public class OrganizationsController : Controller
|
|||||||
throw new NotFoundException();
|
throw new NotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!organization.FlexibleCollections)
|
|
||||||
{
|
|
||||||
throw new BadRequestException("Organization does not have collection enhancements enabled");
|
|
||||||
}
|
|
||||||
|
|
||||||
var v1Enabled = _featureService.IsEnabled(FeatureFlagKeys.FlexibleCollectionsV1);
|
var v1Enabled = _featureService.IsEnabled(FeatureFlagKeys.FlexibleCollectionsV1);
|
||||||
|
|
||||||
if (!v1Enabled)
|
if (!v1Enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user