mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Rename the uid to taskUid in asynchronous response
This commit is contained in:
parent
e5ef5a6f9c
commit
d2f457a076
9 changed files with 18 additions and 18 deletions
|
@ -54,7 +54,7 @@ async fn stats() {
|
|||
|
||||
let (response, code) = index.add_documents(documents, None).await;
|
||||
assert_eq!(code, 202, "{}", response);
|
||||
assert_eq!(response["uid"], 1);
|
||||
assert_eq!(response["taskUid"], 1);
|
||||
|
||||
index.wait_task(1).await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue