chore(api): apply rustfmt across modules and tests
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
6c1357ec4d
commit
a4ef6ca49e
@@ -19,9 +19,6 @@ pub async fn ready(State(state): State<AppState>) -> ApiResult<Json<Value>> {
|
||||
.await
|
||||
.is_ok();
|
||||
let mut redis = state.redis.clone();
|
||||
let redis_ok = redis
|
||||
.set::<_, _, ()>("vmall:ready:ping", "1")
|
||||
.await
|
||||
.is_ok();
|
||||
let redis_ok = redis.set::<_, _, ()>("vmall:ready:ping", "1").await.is_ok();
|
||||
Ok(Json(json!({ "db": db_ok, "redis": redis_ok })))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user