diff --git a/packages/astro/templates/actions.mjs b/packages/astro/templates/actions.mjs index e29a78f7352c..d10b2e3b3405 100644 --- a/packages/astro/templates/actions.mjs +++ b/packages/astro/templates/actions.mjs @@ -103,7 +103,7 @@ async function handleAction(param, path, context) { const rawResult = await fetch( getActionPath({ toString() { - return path; + return getActionQueryString(path); }, }), {