Can update couple information
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user