mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
user vault associations
This commit is contained in:
@ -28,7 +28,6 @@ namespace Bit.Core.Models.Api
|
||||
|
||||
public class OrganizationUserSubvaultRequestModel
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string SubvaultId { get; set; }
|
||||
public bool Admin { get; set; }
|
||||
public bool ReadOnly { get; set; }
|
||||
@ -46,11 +45,6 @@ namespace Bit.Core.Models.Api
|
||||
subvault.SubvaultId = new Guid(SubvaultId);
|
||||
}
|
||||
|
||||
if(!string.IsNullOrWhiteSpace(Id))
|
||||
{
|
||||
subvault.Id = new Guid(Id);
|
||||
}
|
||||
|
||||
return subvault;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user