From f71f2119233c81b467a6775063a674b8404da116 Mon Sep 17 00:00:00 2001 From: Simon Bihel Date: Tue, 19 Apr 2022 13:40:07 +0100 Subject: [PATCH] Clippy --- src/axum_lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axum_lib.rs b/src/axum_lib.rs index b2bd120..de2a14f 100644 --- a/src/axum_lib.rs +++ b/src/axum_lib.rs @@ -227,7 +227,7 @@ async fn client_update( bearer: Option>>, Extension(redis_client): Extension, ) -> Result<(), CustomError> { - Ok(oidc::client_update(client_id, payload, bearer.map(|b| b.0 .0), &redis_client).await?) + oidc::client_update(client_id, payload, bearer.map(|b| b.0 .0), &redis_client).await } async fn client_delete(