mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 18:38:08 +03:00
Implement suggested improvements
This commit is contained in:
1 parent
c3be1b4298
commit
a0796acbc7
5 files changed
+7
-8
No files matched your search
@@ -253,8 +253,7 @@ fn post_ciphers_import(data: Json<ImportData>, headers: Headers, conn: DbConn) -
|
||||
|
||||
if update_cipher_from_data(&mut cipher, cipher_data, &headers, &conn).is_err() { err!("Error creating cipher") }
|
||||
|
||||
//cipher.folder_uuid = folder_uuid; // TODO: This needs to create new folder-cipher mapping
|
||||
|
||||
cipher.move_to_folder(folder_uuid, &headers.user.uuid.clone(), &conn).ok();
|
||||
cipher.save(&conn);
|
||||
index += 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user