uuid resolver hard state

This commit is contained in:
mpostma 2021-03-10 18:04:20 +01:00
parent a56e8c1a0c
commit 53cf500e36
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
7 changed files with 161 additions and 49 deletions

View file

@ -140,7 +140,7 @@ async fn get_update_status(
Ok(HttpResponse::Ok().body(json))
}
Ok(None) => {
let e = format!("udpate {} for index {:?} doesn't exists.", path.update_id, path.index_uid);
let e = format!("update {} for index {:?} doesn't exists.", path.update_id, path.index_uid);
Ok(HttpResponse::BadRequest().body(serde_json::json!({ "error": e.to_string() })))
}
Err(e) => {