mirror of
https://github.com/bitwarden/android.git
synced 2026-06-07 14:57:41 -05:00
Added key to sync response model and cipher sdk object (#201)
This commit is contained in:
committed by
Álison Fernandes
parent
949bb4ad5a
commit
fc36f95ab7
@@ -587,6 +587,9 @@ data class SyncResponseJson(
|
||||
|
||||
@SerialName("card")
|
||||
val card: Card?,
|
||||
|
||||
@SerialName("key")
|
||||
val key: String?,
|
||||
) {
|
||||
/**
|
||||
* Represents an attachment in the vault response.
|
||||
|
||||
@@ -40,7 +40,7 @@ fun SyncResponseJson.Cipher.toEncryptedSdkCipher(): Cipher =
|
||||
organizationId = organizationId,
|
||||
folderId = folderId,
|
||||
collectionIds = collectionIds.orEmpty(),
|
||||
key = null,
|
||||
key = key,
|
||||
name = name.orEmpty(),
|
||||
notes = notes,
|
||||
type = type.toSdkCipherType(),
|
||||
|
||||
Reference in New Issue
Block a user