Bugfix unwrap on Err value

This commit is contained in:
Neshura 2023-07-30 21:25:19 +02:00
parent 8cc16a675b
commit 355040b9a0
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -284,7 +284,7 @@ impl CommunitiesVector {
Ok(data) => {
data.text().unwrap()
}
Err(_) => return false
Err(_) => {return false}
};
let site_data: ListCommunitiesResponse = serde_json::from_str(&res).unwrap();