mirror of
https://github.com/bitwarden/server.git
synced 2025-03-12 13:29:14 +01:00
Fixed last dereference. (#5457)
This commit is contained in:
parent
cb68ef711a
commit
356ae1063a
@ -117,7 +117,7 @@ public class UpdateOrganizationUserCommand : IUpdateOrganizationUserCommand
|
||||
throw new BadRequestException("Organization must have at least one confirmed owner.");
|
||||
}
|
||||
|
||||
if (collectionAccessList?.Count > 0)
|
||||
if (collectionAccessList.Count > 0)
|
||||
{
|
||||
var invalidAssociations = collectionAccessList.Where(cas => cas.Manage && (cas.ReadOnly || cas.HidePasswords));
|
||||
if (invalidAssociations.Any())
|
||||
|
Loading…
Reference in New Issue
Block a user