mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-22 13:16:39 +00:00
cipher does not need to be mutable
This commit is contained in:
parent
bd65c4e312
commit
1a5ecd4d4a
@ -842,7 +842,7 @@ fn move_cipher_selected(data: JsonUpcase<MoveCipherData>, headers: Headers, conn
|
|||||||
}
|
}
|
||||||
|
|
||||||
for uuid in data.Ids {
|
for uuid in data.Ids {
|
||||||
let mut cipher = match Cipher::find_by_uuid(&uuid, &conn) {
|
let cipher = match Cipher::find_by_uuid(&uuid, &conn) {
|
||||||
Some(cipher) => cipher,
|
Some(cipher) => cipher,
|
||||||
None => err!("Cipher doesn't exist"),
|
None => err!("Cipher doesn't exist"),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user