Skip to content

Commit e260ef5

Browse files
alallemacurquiza
andauthored
Update README.md
Co-authored-by: Clémentine Urquizar - curqui <[email protected]>
1 parent 5926c64 commit e260ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ documents = [
8787
]
8888

8989
# If the index 'movies' does not exist, MeiliSearch creates it when you first add the documents.
90-
index.add_documents(documents) # => { "updateId": 0 }
90+
index.add_documents(documents) # => { "uid": 0 }
9191
```
9292

9393
With the task `uid`, you can check the status (`enqueued`, `processing`, `succeeded` or `failed`) of your documents addition using the [task endpoint](https://docs.meilisearch.com/reference/api/tasks.html#get-one-task).

0 commit comments

Comments
 (0)