mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-15 22:22:42 +00:00
Update src/api/core/ciphers.rs
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
This commit is contained in:
parent
5c103ff55c
commit
f8bbe3d237
1 changed files with 1 additions and 1 deletions
|
@ -1587,7 +1587,7 @@ async fn move_cipher_selected(
|
|||
let mut single_cipher: Option<Cipher> = None;
|
||||
|
||||
// TODO: Convert this to use a single query (or at least less) to update all items
|
||||
// Find all ciphers a user has access too, all others will be ignored
|
||||
// Find all ciphers a user has access to, all others will be ignored
|
||||
let accessible_ciphers = Cipher::find_by_user_and_ciphers(user_id, &data.ids, &mut conn).await;
|
||||
let accessible_ciphers_count = accessible_ciphers.len();
|
||||
for cipher in accessible_ciphers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue