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
commit3189ee0d8d32404959a55591b138c35824c58d67 (patch)
tree6ef7f6c272118156076de7a9025d89a8e1a70ce9 /src/routes/(app)/sent
parentc66fe71338641e7595780aa820e047be083a9cbb (diff)
downloadcoinos-ui-3189ee0d8d32404959a55591b138c35824c58d67.tar.gz
coinos-ui-3189ee0d8d32404959a55591b138c35824c58d67.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 };
};