summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:33:30 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:33:30 +0100
commit71eac2d383c9918645e99b6b845fb8f4faecf346 (patch)
tree9b9ab3750bd6f4cb907d1565b30fdb43f4ea41be
parentf19fc78a151c761642cf7c9b654e0da9db3c4418 (diff)
Fixes static paths in Scotsoun payment confirmation
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro2
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 } }))
);
}