diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index 8adf468..56fa54e 100644 --- a/src/api/core/ciphers.rs +++ b/src/api/core/ciphers.rs @@ -56,6 +56,7 @@ pub fn routes() -> Vec { delete_all, move_cipher_selected, move_cipher_selected_put, + put_collections_update, post_collections_update, post_collections_admin, put_collections_admin, @@ -417,6 +418,16 @@ struct CollectionsAdminData { CollectionIds: Vec, } +#[put("/ciphers//collections", data = "")] +fn put_collections_update( + uuid: String, + data: JsonUpcase, + headers: Headers, + conn: DbConn, +) -> EmptyResult { + post_collections_admin(uuid, data, headers, conn) +} + #[post("/ciphers//collections", data = "")] fn post_collections_update( uuid: String,