From 689bef7ad2d364db0bbd4652aee88a2b5ad980c5 Mon Sep 17 00:00:00 2001 From: vishalsodani Date: Thu, 27 Oct 2022 14:09:38 +0530 Subject: [PATCH] fmt the code --- meilisearch-http/src/extractors/authentication/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meilisearch-http/src/extractors/authentication/mod.rs b/meilisearch-http/src/extractors/authentication/mod.rs index d36db02c8..4107a6194 100644 --- a/meilisearch-http/src/extractors/authentication/mod.rs +++ b/meilisearch-http/src/extractors/authentication/mod.rs @@ -60,9 +60,7 @@ impl GuardedData { None => Err(AuthenticationError::IrretrievableState.into()), }, - None if missing_master_key => { - Err(AuthenticationError::MissingMasterKey.into()) - } + None if missing_master_key => Err(AuthenticationError::MissingMasterKey.into()), None => Err(AuthenticationError::MissingAuthorizationHeader.into()), } }