mirror of
https://github.com/bitwarden/server.git
synced 2026-02-09 10:23:10 +08:00
additional identity fields
This commit is contained in:
@@ -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) + ".");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user