chore(routes): correct typo

Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
Ryan Russell 2022-06-27 17:57:48 -05:00
parent bf865f51bb
commit 9b660e1058
No known key found for this signature in database
GPG Key ID: 8A7DE15B3F4F5007

View File

@ -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
/// a meilisearch error if anyhthing bad happen.
/// a meilisearch error if anything bad happen.
fn extract_mime_type(req: &HttpRequest) -> Result<Option<Mime>, MeilisearchHttpError> {
match req.mime_type() {
Ok(Some(mime)) => Ok(Some(mime)),