From b06e33f3d3d5efce028b10f4d8903dd038378b5e Mon Sep 17 00:00:00 2001 From: qdequele Date: Tue, 10 Mar 2020 12:08:10 +0100 Subject: [PATCH] fix errors on http parameter naming --- meilisearch-http/src/helpers/tide.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/helpers/tide.rs b/meilisearch-http/src/helpers/tide.rs index 979d5eaef..33a6028b1 100644 --- a/meilisearch-http/src/helpers/tide.rs +++ b/meilisearch-http/src/helpers/tide.rs @@ -71,7 +71,7 @@ impl RequestExt for Request { fn document_id(&self) -> SResult { let name = self - .param::("documentId") + .param::("document_id") .map_err(|_| ResponseError::bad_parameter("documentId", "primaryKey"))?; Ok(name)