From b4eabde944609fbb7c8c055f396bda8199e8cd55 Mon Sep 17 00:00:00 2001 From: dzakki Date: Mon, 28 Oct 2024 18:16:21 +0800 Subject: [PATCH] fix example request document-service status (#2275) --- docusaurus/docs/dev-docs/api/document-service/status.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/dev-docs/api/document-service/status.md b/docusaurus/docs/dev-docs/api/document-service/status.md index 35c581660c..1779c28d26 100644 --- a/docusaurus/docs/dev-docs/api/document-service/status.md +++ b/docusaurus/docs/dev-docs/api/document-service/status.md @@ -198,8 +198,8 @@ To automatically publish a document while updating it, add `status: 'published'` ```js await strapi.documents('api::restaurant.restaurant').update({ + documentId: 'a1b2c3d4e5f6g7h8i9j0klm', data: { - documentId: 'a1b2c3d4e5f6g7h8i9j0klm', name: "Biscotte Restaurant (closed)", }, status: 'published',