mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-10 10:08:02 -06:00
refactor: allow optional database in setup, use derived default
This commit is contained in:
@@ -377,7 +377,7 @@ pub async fn health_handler(
|
||||
) -> axum::response::Response {
|
||||
// Force health check in debug mode
|
||||
#[cfg(debug_assertions)]
|
||||
if params.get("force").is_some() {
|
||||
if params.contains_key("force") {
|
||||
app_state.check_health().await;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user