mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Add encrypted hint json property (#1184)
This commit is contained in:
parent
ef4b53b337
commit
e0191c573d
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ namespace Bit.Core.Services
|
|||
{
|
||||
var jsonDoc = new
|
||||
{
|
||||
Encrypted = false,
|
||||
Folders = decryptedFolders.Where(f => f.Id != null).Select(f => new FolderWithId(f)),
|
||||
Items = decryptedCiphers.Where(c => c.OrganizationId == null)
|
||||
.Select(c => new CipherWithId(c) { CollectionIds = null })
|
||||
|
@ -179,6 +180,7 @@ namespace Bit.Core.Services
|
|||
{
|
||||
var jsonDoc = new
|
||||
{
|
||||
Encrypted = true,
|
||||
Folders = folders,
|
||||
Items = ciphers,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue