From fb8510db273f78317a02ca151f7f24a9b8de29ab Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 20 Sep 2024 10:03:30 -0700 Subject: rename account_id --- src/routes/(app)/sent/+page.server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/routes/(app)/sent') 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 }; }; -- cgit v1.2.3