mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
chore(routes): correct typo
Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
parent
bf865f51bb
commit
9b660e1058
@ -46,7 +46,7 @@ fn payload_to_stream(mut payload: Payload) -> impl Stream<Item = Result<Bytes, P
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Extracts the mime type from the content type and return
|
/// Extracts the mime type from the content type and return
|
||||||
/// a meilisearch error if anyhthing bad happen.
|
/// a meilisearch error if anything bad happen.
|
||||||
fn extract_mime_type(req: &HttpRequest) -> Result<Option<Mime>, MeilisearchHttpError> {
|
fn extract_mime_type(req: &HttpRequest) -> Result<Option<Mime>, MeilisearchHttpError> {
|
||||||
match req.mime_type() {
|
match req.mime_type() {
|
||||||
Ok(Some(mime)) => Ok(Some(mime)),
|
Ok(Some(mime)) => Ok(Some(mime)),
|
||||||
|
Loading…
Reference in New Issue
Block a user