mirror of
https://github.com/bitwarden/server
synced 2025-12-17 00:33:23 +00:00
collection user refactor
This commit is contained in:
@@ -12,15 +12,6 @@ namespace Bit.Core.Models.Api
|
||||
public string Id { get; set; }
|
||||
public bool ReadOnly { get; set; }
|
||||
|
||||
public CollectionUser ToCollectionUser()
|
||||
{
|
||||
return new CollectionUser
|
||||
{
|
||||
ReadOnly = ReadOnly,
|
||||
CollectionId = new Guid(Id)
|
||||
};
|
||||
}
|
||||
|
||||
public SelectionReadOnly ToSelectionReadOnly()
|
||||
{
|
||||
return new SelectionReadOnly
|
||||
|
||||
Reference in New Issue
Block a user