mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
tests: Change get_document_by_filter to fetch_documents
This commit is contained in:
parent
f292fc9ac0
commit
21c3b3957e
3 changed files with 15 additions and 20 deletions
|
@ -411,7 +411,7 @@ impl<State> Index<'_, State> {
|
|||
self.service.get(url).await
|
||||
}
|
||||
|
||||
pub async fn get_document_by_filter(&self, payload: Value) -> (Value, StatusCode) {
|
||||
pub async fn fetch_documents(&self, payload: Value) -> (Value, StatusCode) {
|
||||
let url = format!("/indexes/{}/documents/fetch", urlencode(self.uid.as_ref()));
|
||||
self.service.post(url, payload).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue