summaryrefslogtreecommitdiff
path: root/webapp/src/components/app_context_provider.rs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-01-01 20:47:59 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-01-01 20:50:11 -0500
commit33dfcd18252dd8a4845cd58b93bd177ab0dffde9 (patch)
treefbb6fc049677a492cd9d5196d6b1709f0b32b873 /webapp/src/components/app_context_provider.rs
parentd3fbefad9cf25786fb5f28f96eeceb65d0a8b35b (diff)
Fix clippy warnings
Diffstat (limited to 'webapp/src/components/app_context_provider.rs')
-rw-r--r--webapp/src/components/app_context_provider.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/app_context_provider.rs b/webapp/src/components/app_context_provider.rs
index 081026c..35b35d7 100644
--- a/webapp/src/components/app_context_provider.rs
+++ b/webapp/src/components/app_context_provider.rs
@@ -113,7 +113,7 @@ async fn initialize_user_info() -> Result<Option<UserInfo>, anyhow::Error> {
.assign("/api/login")
.unwrap();
};
- Ok(ok_json(response).await.context("requesting user_info")?)
+ ok_json(response).await.context("requesting user_info")
}
pub fn use_app_context() -> AppContext {