additional identity fields

This commit is contained in:
Kyle Spearrin
2017-10-09 11:23:20 -04:00
parent c7e7734dfc
commit b0fd99b218
4 changed files with 23 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ namespace Bit.Core.Models.Api
case Enums.CipherType.Card:
Data = new CardDataModel(cipher);
break;
case Enums.CipherType.Identity:
Data = new IdentityDataModel(cipher);
break;
default:
throw new ArgumentException("Unsupported " + nameof(Type) + ".");
}