Warnung entfernt
This commit is contained in:
parent
e8d77ec18e
commit
c499f1b97c
@ -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))),
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user