Warnung entfernt
This commit is contained in:
1 parent
e8d77ec18e
commit
c499f1b97c
1 file changed
+1
-1
+1
-1
@@ -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))),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user