1
0
mirror of https://github.com/bitwarden/server synced 2026-03-01 10:51:26 +00:00

backwards compat apis on Uri

This commit is contained in:
Kyle Spearrin
2018-03-01 09:29:49 -05:00
parent c8aabf0b40
commit 2b276e9986
6 changed files with 45 additions and 21 deletions

View File

@@ -54,7 +54,7 @@ namespace Bit.Core.Models.Api
Name = cipherData.Name;
Notes = cipherData.Notes;
Fields = cipherData.Fields.Select(f => new CipherFieldModel(f));
Fields = cipherData.Fields?.Select(f => new CipherFieldModel(f));
RevisionDate = cipher.RevisionDate;
OrganizationId = cipher.OrganizationId?.ToString();
Attachments = AttachmentResponseModel.FromCipher(cipher, globalSettings);