docs : documentation for new endpoints
This commit is contained in:
parent
79edb50f65
commit
c72ade8dab
2 changed files with 65 additions and 2 deletions
|
@ -64,7 +64,7 @@ pub async fn remove_ssh_key(mut req: Request<State>) -> tide::Result {
|
|||
Ok(_) => Ok(json!({"result": "success"}).into()),
|
||||
Err(e) => {
|
||||
dbg!(e);
|
||||
Ok(json!({"result": "error", "error": "Failed to add key"}).into())
|
||||
Ok(json!({"result": "error", "error": "Failed to remove key"}).into())
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue