From 9fb198bf358375942caa7084dd4924b87736dfd5 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Mon, 9 Sep 2024 12:13:50 +0200 Subject: [PATCH] Fix collection update from native client For some strange reason the native clients send `CollectionIds` instead of `collectionIds` for updating the collection. Added an alias to allow this. Fixes an issue reported via Matrix. Signed-off-by: BlackDex --- src/api/core/ciphers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index 13bf701fa9..da7189428f 100644 --- a/src/api/core/ciphers.rs +++ b/src/api/core/ciphers.rs @@ -703,6 +703,7 @@ async fn put_cipher_partial( #[derive(Deserialize)] #[serde(rename_all = "camelCase")] struct CollectionsAdminData { + #[serde(alias = "CollectionIds")] collection_ids: Vec, }