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()), } }