mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
chore: lints
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user