mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 16:08:09 +03:00
Do not allocate uneccessary Vec
This commit is contained in:
1 parent
b3f7394c06
commit
637f655b6f
1 file changed
+1
-1
@@ -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