mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
fix all the array on the search get route and improve the tests
This commit is contained in:
parent
eb8d53a915
commit
c47369b502
6 changed files with 50 additions and 52 deletions
|
@ -221,7 +221,7 @@ impl Index<'_> {
|
|||
}
|
||||
|
||||
pub async fn search_get(&self, query: Value) -> (Value, StatusCode) {
|
||||
let params = serde_url_params::to_string(&query).unwrap();
|
||||
let params = yaup::to_string(&query).unwrap();
|
||||
let url = format!("/indexes/{}/search?{}", encode(self.uid.as_ref()), params);
|
||||
self.service.get(url).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue