fix the index_creation boolean

This commit is contained in:
Tamo 2021-10-28 12:29:32 +02:00 committed by marin postma
parent 3ad8311bdd
commit 351ad32d77
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9

View File

@ -143,7 +143,7 @@ pub async fn add_documents(
analytics.add_documents( analytics.add_documents(
&params, &params,
meilisearch.get_index(path.index_uid.clone()).await.is_ok(), meilisearch.get_index(path.index_uid.clone()).await.is_err(),
&req, &req,
); );
@ -174,7 +174,7 @@ pub async fn update_documents(
analytics.update_documents( analytics.update_documents(
&params, &params,
meilisearch.get_index(path.index_uid.clone()).await.is_ok(), meilisearch.get_index(path.index_uid.clone()).await.is_err(),
&req, &req,
); );