mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
Change FlexibleCollectionsIsEnabled method to property
Co-authored-by: Rui Tomé <108268980+r-tome@users.noreply.github.com>
This commit is contained in:
@ -308,10 +308,7 @@ public class CollectionsController : Controller
|
|||||||
return collection;
|
return collection;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool FlexibleCollectionsIsEnabled()
|
private bool FlexibleCollectionsIsEnabled => _featureService.IsEnabled(FeatureFlagKeys.FlexibleCollections, _currentContext);
|
||||||
{
|
|
||||||
return _featureService.IsEnabled(FeatureFlagKeys.FlexibleCollections, _currentContext);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void DeprecatedPermissionsGuard()
|
private void DeprecatedPermissionsGuard()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user