From 862d49e4af7422144a7aebcc17e7c660b5f3bb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 14 May 2024 21:54:35 +0200 Subject: [PATCH] Editing documents requires the documents.all action (add, get, and del) --- meilisearch/src/routes/indexes/documents.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch/src/routes/indexes/documents.rs b/meilisearch/src/routes/indexes/documents.rs index 0a9ce9bfc..57b5ee33b 100644 --- a/meilisearch/src/routes/indexes/documents.rs +++ b/meilisearch/src/routes/indexes/documents.rs @@ -587,7 +587,7 @@ pub struct DocumentEditionByFunction { } pub async fn edit_documents_by_function( - index_scheduler: GuardedData, Data>, + index_scheduler: GuardedData, Data>, index_uid: web::Path, body: AwebJson, req: HttpRequest,