summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel GarcĂ­a <[email protected]>2024-06-24 19:44:06 +0200
committerGitHub <[email protected]>2024-06-24 19:44:06 +0200
commit4233dbf3db773c2fc933618dd5789da87efaf5ce (patch)
tree15efe8e08d7b2e520fabb986483940ed4d0749cc
parenta2bf8def2a34d0c362115c5964846d0ee2ef311f (diff)
downloadvaultwarden-4233dbf3db773c2fc933618dd5789da87efaf5ce.tar.gz
vaultwarden-4233dbf3db773c2fc933618dd5789da87efaf5ce.zip
Fix cipher creation on new android app (#4670)
-rw-r--r--src/api/core/ciphers.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs
index 9a4456a4..0884ef1f 100644
--- a/src/api/core/ciphers.rs
+++ b/src/api/core/ciphers.rs
@@ -797,7 +797,9 @@ async fn post_collections_admin(
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
struct ShareCipherData {
+ #[serde(alias = "Cipher")]
cipher: CipherData,
+ #[serde(alias = "CollectionIds")]
collection_ids: Vec<String>,
}