chore: lints

This commit is contained in:
realaravinth
2022-05-11 20:11:11 +05:30
parent 96995bc068
commit f165581e17
8 changed files with 4 additions and 13 deletions

View File

@@ -73,10 +73,7 @@ impl Health {
/// checks all components of the system
#[my_codegen::get(path = "crate::V1_API_ROUTES.meta.health")]
async fn health(data: AppData) -> impl Responder {
use sqlx::Connection;
let mut resp_builder = HealthBuilder::default();
resp_builder.redis = None;
resp_builder.db(data.dblib.ping().await);