From 71eac2d383c9918645e99b6b845fb8f4faecf346 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 13 Aug 2023 20:33:30 +0100 Subject: Fixes static paths in Scotsoun payment confirmation --- .../scotsoun/[scotsounId]/payment-success-confirmation.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro index fe82cf7..49f1bf7 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro @@ -10,7 +10,7 @@ import type ScotsounId from '$types/ScotsounId'; export async function getStaticPaths() { const scotsounIds = Object.keys(getScotsoun) as `${ScotsounId}`[]; return scotsounIds.flatMap((n) => - localeStaticPaths.map((p) => ({ ...p, params: { ...p.params, issueNumber: n } })) + localeStaticPaths.map((p) => ({ ...p, params: { ...p.params, scotsounId: n } })) ); } -- cgit v1.2.3