1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 08:13:33 +00:00

backwards compat issues with change email/password

This commit is contained in:
Kyle Spearrin
2017-04-28 16:49:40 -04:00
parent 8d37f1c946
commit 23467b7771
5 changed files with 95 additions and 11 deletions

View File

@@ -59,6 +59,17 @@ namespace Bit.Core.Models.Api
return existingCipher;
}
[Obsolete]
public Folder ToFolder(Guid userId)
{
return new Folder
{
Id = new Guid(Id),
UserId = userId,
Name = Name
};
}
}
public class CipherShareRequestModel : IValidatableObject