mirror of
https://github.com/bitwarden/server
synced 2025-12-17 00:33:23 +00:00
Fix error if user has access to all collections (#1774)
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Bit.Api.Models.Request.Organizations
|
||||
Emails = Emails,
|
||||
Type = Type,
|
||||
AccessAll = AccessAll,
|
||||
Collections = Collections.Select(c => c.ToSelectionReadOnly()),
|
||||
Collections = Collections?.Select(c => c.ToSelectionReadOnly()),
|
||||
Permissions = Permissions,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user