Skip to content

Commit

Permalink
fix: document service API example typo (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qbject authored Jan 14, 2025
1 parent 8422109 commit d316792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/api/document-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If only a `documentId` is passed without any other parameters, `findOne()` retur
<Request title="Find a document by passing its documentId">

```js
await strapi.documents('api:restaurant.restaurant').findOne({
await strapi.documents('api::restaurant.restaurant').findOne({
documentId: 'a1b2c3d4e5f6g7h8i9j0klm'
})
```
Expand Down

0 comments on commit d316792

Please sign in to comment.