Bugfix unwrap on Err value
This commit is contained in:
parent
8cc16a675b
commit
355040b9a0
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ impl CommunitiesVector {
|
||||||
Ok(data) => {
|
Ok(data) => {
|
||||||
data.text().unwrap()
|
data.text().unwrap()
|
||||||
}
|
}
|
||||||
Err(_) => return false
|
Err(_) => {return false}
|
||||||
};
|
};
|
||||||
|
|
||||||
let site_data: ListCommunitiesResponse = serde_json::from_str(&res).unwrap();
|
let site_data: ListCommunitiesResponse = serde_json::from_str(&res).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue