mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-12 13:17:43 +02:00
Do not allocate uneccessary Vec
This commit is contained in:
@ -857,7 +857,7 @@ fn move_cipher_selected(data: JsonUpcase<MoveCipherData>, headers: Headers, conn
|
||||
nt.send_cipher_update(
|
||||
UpdateType::CipherUpdate,
|
||||
&cipher,
|
||||
&vec![user_uuid.clone()]
|
||||
&[user_uuid.clone()]
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user