1
0
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:
Jared McCannon 2025-03-04 13:52:07 -06:00 committed by GitHub
parent cb68ef711a
commit 356ae1063a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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())