From 90103ff3b799de496d1470408dcd25d1e8f03ad9 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 19 Jan 2023 15:07:40 +0100 Subject: [PATCH] up --- docs/content/3.usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/3.usage.md b/docs/content/3.usage.md index b9160411..899c4d10 100644 --- a/docs/content/3.usage.md +++ b/docs/content/3.usage.md @@ -83,7 +83,7 @@ const response = await findOne('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.