mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
add the content type to all the route
This commit is contained in:
parent
9e1bba40f7
commit
8e2d6cf87d
5 changed files with 46 additions and 15 deletions
|
@ -148,6 +148,7 @@ pub async fn add_documents(
|
|||
"with_primary_key": params.primary_key,
|
||||
"index_creation": meilisearch.get_index(path.index_uid.clone()).await.is_ok(),
|
||||
}),
|
||||
Some(&req),
|
||||
);
|
||||
|
||||
document_addition(
|
||||
|
@ -182,6 +183,7 @@ pub async fn update_documents(
|
|||
"with_primary_key": params.primary_key,
|
||||
"index_creation": meilisearch.get_index(path.index_uid.clone()).await.is_ok(),
|
||||
}),
|
||||
Some(&req),
|
||||
);
|
||||
|
||||
document_addition(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue