Can update couple information

This commit is contained in:
2023-08-07 19:28:44 +02:00
parent 4997132bf8
commit ea84c45e8a
3 changed files with 19 additions and 1 deletions

View File

@ -332,7 +332,7 @@ impl CoupleState {
}
pub fn parse_str(s: &str) -> Option<Self> {
serde_json::from_str(s).ok()
serde_json::from_str(&format!("\"{s}\"")).ok()
}
pub fn states_list() -> Vec<CoupleStateDesc> {