return value changed to String
This commit is contained in:
parent
fed0d3616e
commit
9e3b82fbde
1 changed files with 2 additions and 2 deletions
|
@ -63,6 +63,6 @@ async fn update_progress() {}
|
||||||
|
|
||||||
async fn get_progress() {}
|
async fn get_progress() {}
|
||||||
|
|
||||||
async fn healthcheck() -> (StatusCode, Json<Value>) {
|
async fn healthcheck() -> (StatusCode, String) {
|
||||||
(StatusCode::OK, Json(json!({ "state" : "OK" })))
|
(StatusCode::OK, "state = 'OK'".to_owned())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue