diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:33:30 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:33:30 +0100 |
| commit | 71eac2d383c9918645e99b6b845fb8f4faecf346 (patch) | |
| tree | 9b9ab3750bd6f4cb907d1565b30fdb43f4ea41be /src/pages | |
| parent | f19fc78a151c761642cf7c9b654e0da9db3c4418 (diff) | |
Fixes static paths in Scotsoun payment confirmation
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro | 2 |
1 files changed, 1 insertions, 1 deletions
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 } })) ); } |
