aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/sent
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-20 10:03:30 -0700
committerAdam Soltys <[email protected]>2024-09-20 10:03:30 -0700
commitfb8510db273f78317a02ca151f7f24a9b8de29ab (patch)
tree6ef7f6c272118156076de7a9025d89a8e1a70ce9 /src/routes/(app)/sent
parent5c86d9eadaa0021928ea39c7d0e875d0c446280f (diff)
downloadcoinos-ui-fb8510db273f78317a02ca151f7f24a9b8de29ab.tar.gz
coinos-ui-fb8510db273f78317a02ca151f7f24a9b8de29ab.zip
rename account_id
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 };
};