From 03f8d44799020b40d1dbdf13a0c039b964b751cf Mon Sep 17 00:00:00 2001 From: Jon Caruana <jon@joncaruana.com> Date: Sun, 14 Aug 2022 23:22:11 -0700 Subject: [PATCH] [Pages] fix 'function/' typo in example path --- content/pages/platform/functions/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/pages/platform/functions/_index.md b/content/pages/platform/functions/_index.md index 3f5c223ec..096914fce 100644 --- a/content/pages/platform/functions/_index.md +++ b/content/pages/platform/functions/_index.md @@ -154,7 +154,7 @@ Another helpful example for handling single path segments can be querying an API ```js --- -filename:function/character/[id].js +filename:functions/character/[id].js --- export async function onRequestGet({ params }) { const res = await fetch(`https://rickandmortyapi.com/api/character/${params.id}`); -- GitLab