mirror of
https://github.com/bitwarden/server.git
synced 2025-12-11 04:34:37 -06:00
null coalesce collections to an empty array (#6381)
This commit is contained in:
parent
6466c00acd
commit
0df22ff581
@ -31,7 +31,7 @@ public class MemberCreateRequestModel : MemberUpdateRequestModel
|
||||
{
|
||||
Emails = new[] { Email },
|
||||
Type = Type.Value,
|
||||
Collections = Collections?.Select(c => c.ToCollectionAccessSelection()).ToList(),
|
||||
Collections = Collections?.Select(c => c.ToCollectionAccessSelection())?.ToList() ?? [],
|
||||
Groups = Groups
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user