aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/qr
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/qr')
-rw-r--r--src/routes/(app)/qr/[text]/+page.server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/qr/[text]/+page.server.ts b/src/routes/(app)/qr/[text]/+page.server.ts
index 5a9debb3..210c3c45 100644
--- a/src/routes/(app)/qr/[text]/+page.server.ts
+++ b/src/routes/(app)/qr/[text]/+page.server.ts
@@ -1,3 +1,4 @@
export async function load({ params }) {
- return params;
+ const { text } = params;
+ return { text };
}