mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
fmt the code
This commit is contained in:
parent
89c40c83c3
commit
689bef7ad2
@ -60,9 +60,7 @@ impl<P, D> GuardedData<P, D> {
|
|||||||
|
|
||||||
None => Err(AuthenticationError::IrretrievableState.into()),
|
None => Err(AuthenticationError::IrretrievableState.into()),
|
||||||
},
|
},
|
||||||
None if missing_master_key => {
|
None if missing_master_key => Err(AuthenticationError::MissingMasterKey.into()),
|
||||||
Err(AuthenticationError::MissingMasterKey.into())
|
|
||||||
}
|
|
||||||
None => Err(AuthenticationError::MissingAuthorizationHeader.into()),
|
None => Err(AuthenticationError::MissingAuthorizationHeader.into()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user