Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 19, 2023
1 parent 27d9e57 commit 90103ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const response = await findOne<Restaurant>('restaurants', route.params.id)
```

::alert{type="info"}
This method can be used to get a single type entry as `id` is optional.
This method can be used to get a single type entry as `id` is optional. You can pass the `params` instead of the `id` if needed.
::

> Check out the Strapi [Get an entry](https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest-api.html#get-an-entry) REST API endpoint.
Expand Down

0 comments on commit 90103ff

Please sign in to comment.