From 355040b9a084fa74dcaaeb977fc70f0054ec3939 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 30 Jul 2023 21:25:19 +0200 Subject: [PATCH] Bugfix unwrap on Err value --- src/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index dd09292..fe7a925 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -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();