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',