docs : documentation for new endpoints

This commit is contained in:
daragh 2023-12-31 02:42:25 +00:00
parent 79edb50f65
commit c72ade8dab
No known key found for this signature in database
2 changed files with 65 additions and 2 deletions

View file

@ -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())
}
};