1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Add encrypted hint json property (#1184)

This commit is contained in:
Matt Gibson
2020-12-18 16:17:04 -06:00
committed by GitHub
parent ef4b53b337
commit e0191c573d

View File

@@ -162,6 +162,7 @@ namespace Bit.Core.Services
{ {
var jsonDoc = new var jsonDoc = new
{ {
Encrypted = false,
Folders = decryptedFolders.Where(f => f.Id != null).Select(f => new FolderWithId(f)), Folders = decryptedFolders.Where(f => f.Id != null).Select(f => new FolderWithId(f)),
Items = decryptedCiphers.Where(c => c.OrganizationId == null) Items = decryptedCiphers.Where(c => c.OrganizationId == null)
.Select(c => new CipherWithId(c) { CollectionIds = null }) .Select(c => new CipherWithId(c) { CollectionIds = null })
@@ -179,6 +180,7 @@ namespace Bit.Core.Services
{ {
var jsonDoc = new var jsonDoc = new
{ {
Encrypted = true,
Folders = folders, Folders = folders,
Items = ciphers, Items = ciphers,
}; };