Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Implementing PUT for ciphers/move (#99)
Dieser Commit ist enthalten in:
Ursprung
07a30c8334
Commit
91a2319325
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -483,8 +483,9 @@ fn delete_cipher_selected(data: JsonUpcase<Value>, headers: Headers, conn: DbCon
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[post("/ciphers/move", data = "<data>")]
|
||||
#[put("/ciphers/move", data = "<data>")]
|
||||
fn move_cipher_selected(data: JsonUpcase<Value>, headers: Headers, conn: DbConn) -> EmptyResult {
|
||||
println!("{}", "inside put");
|
||||
let data = data.into_inner().data;
|
||||
|
||||
let folder_id = match data.get("FolderId") {
|
||||
|
|
Laden …
In neuem Issue referenzieren