diff --git a/src/Core/Models/Api/CipherFieldModel.cs b/src/Core/Models/Api/CipherFieldModel.cs index ff6d04985..a51db1497 100644 --- a/src/Core/Models/Api/CipherFieldModel.cs +++ b/src/Core/Models/Api/CipherFieldModel.cs @@ -14,6 +14,7 @@ namespace Bit.Core.Models.Api Type = data.Type; Name = data.Name; Value = data.Value; + LinkedId = data.LinkedId ?? null; } public FieldType Type { get; set; } @@ -21,5 +22,6 @@ namespace Bit.Core.Models.Api public string Name { get; set; } [EncryptedStringLength(5000)] public string Value { get; set; } + public int? LinkedId { get; set; } } } diff --git a/src/Core/Models/Data/CipherFieldData.cs b/src/Core/Models/Data/CipherFieldData.cs index 8aa91f685..b67680d27 100644 --- a/src/Core/Models/Data/CipherFieldData.cs +++ b/src/Core/Models/Data/CipherFieldData.cs @@ -12,10 +12,12 @@ namespace Bit.Core.Models.Data Type = field.Type; Name = field.Name; Value = field.Value; + LinkedId = field.LinkedId ?? null; } public FieldType Type { get; set; } public string Name { get; set; } public string Value { get; set; } + public int? LinkedId { get; set; } } }