aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/sent
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/sent')
-rw-r--r--src/routes/(app)/sent/+page.server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/sent/+page.server.ts b/src/routes/(app)/sent/+page.server.ts
index 9aeda733..a7c24fb8 100644
--- a/src/routes/(app)/sent/+page.server.ts
+++ b/src/routes/(app)/sent/+page.server.ts
@@ -1,7 +1,7 @@
import { get, auth } from "$lib/utils";
export let load = async ({ cookies }) => {
- let account_id = cookies.get("account_id");
- let { payments } = await get(`/payments?account_id=${account_id}`, auth(cookies));
+ let aid = cookies.get("aid");
+ let { payments } = await get(`/payments?aid=${aid}`, auth(cookies));
return { payments };
};