mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
always update associations on group/coll updates
This commit is contained in:
@ -50,15 +50,7 @@ namespace Bit.Core.Services
|
||||
else
|
||||
{
|
||||
group.RevisionDate = DateTime.UtcNow;
|
||||
|
||||
if(collections == null)
|
||||
{
|
||||
await _groupRepository.ReplaceAsync(group);
|
||||
}
|
||||
else
|
||||
{
|
||||
await _groupRepository.ReplaceAsync(group, collections);
|
||||
}
|
||||
await _groupRepository.ReplaceAsync(group, collections ?? new List<SelectionReadOnly>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user