Pass in collection ids to notifier when sharing cipher. (#4517)

This commit is contained in:
Kristof Mattei
2024-04-27 12:53:10 -07:00
committed by GitHub
parent ca9234ed86
commit 84a7c7da5d
3 changed files with 19 additions and 12 deletions

View File

@@ -1618,7 +1618,7 @@ async fn post_org_import(
let mut ciphers = Vec::new();
for cipher_data in data.Ciphers {
let mut cipher = Cipher::new(cipher_data.Type, cipher_data.Name.clone());
update_cipher_from_data(&mut cipher, cipher_data, &headers, false, &mut conn, &nt, UpdateType::None).await.ok();
update_cipher_from_data(&mut cipher, cipher_data, &headers, None, &mut conn, &nt, UpdateType::None).await.ok();
ciphers.push(cipher);
}