mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
Remove FlexibleCollections check from OrganizationsController (#4123)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user