diff --git a/src/main.rs b/src/main.rs index bff8a7a..1b6d018 100644 --- a/src/main.rs +++ b/src/main.rs @@ -210,7 +210,7 @@ async fn save_settings( Ok(s) => s, 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, Err(e) => return Ok(HttpResponse::InternalServerError().body(format!("Deserialisierungsfehler: {}", e))), };