Warnung entfernt

This commit is contained in:
Eric Neuber 2026-02-13 22:26:24 +01:00
parent e8d77ec18e
commit c499f1b97c

View File

@ -210,7 +210,7 @@ async fn save_settings(
Ok(s) => s, Ok(s) => s,
Err(e) => return Ok(HttpResponse::InternalServerError().body(format!("Fehler beim Lesen: {}", e))), Err(e) => return Ok(HttpResponse::InternalServerError().body(format!("Fehler beim Lesen: {}", e))),
}; };
let mut updated_config: AppConfig = match serde_yaml::from_str(&conf_str) { let updated_config: AppConfig = match serde_yaml::from_str(&conf_str) {
Ok(cfg) => cfg, Ok(cfg) => cfg,
Err(e) => return Ok(HttpResponse::InternalServerError().body(format!("Deserialisierungsfehler: {}", e))), Err(e) => return Ok(HttpResponse::InternalServerError().body(format!("Deserialisierungsfehler: {}", e))),
}; };