1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

react to contact changes not being set from identity

This commit is contained in:
Kyle Spearrin
2017-01-24 22:46:54 -05:00
parent 9a10382b46
commit 0648c2d0a3
13 changed files with 104 additions and 84 deletions

View File

@ -13,11 +13,11 @@ namespace Bit.Api.Models
[StringLength(300)]
public string Name { get; set; }
public Cipher ToCipher(string userId = null)
public Cipher ToCipher(Guid userId)
{
return ToCipher(new Cipher
{
UserId = new Guid(userId)
UserId = userId
});
}