Cleanup
This commit is contained in:
@@ -21,7 +21,10 @@ pub struct SystemInfo {
|
||||
async fn info() -> HttpResponse {
|
||||
let healthy = true;
|
||||
let version = env!("CARGO_PKG_VERSION");
|
||||
let info = SystemInfo { version: version.to_string(), healthy };
|
||||
let info = SystemInfo {
|
||||
version: version.to_string(),
|
||||
healthy,
|
||||
};
|
||||
|
||||
HttpResponse::Ok().json(info)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user