aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/sent
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-20 10:03:22 -0700
committerAdam Soltys <[email protected]>2024-09-20 10:03:22 -0700
commitc66fe71338641e7595780aa820e047be083a9cbb (patch)
tree9d8465f37573f0efa1e84ce64d7d2336798cc319 /src/routes/(app)/sent
parent3d3868f1f8db3afae8805c890a98cdb48557caef (diff)
downloadcoinos-ui-c66fe71338641e7595780aa820e047be083a9cbb.tar.gz
coinos-ui-c66fe71338641e7595780aa820e047be083a9cbb.zip
import key
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 4cf580ee..9aeda733 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 = cookies.get("account");
- let { payments } = await get(`/payments?account=${account}`, auth(cookies));
+ let account_id = cookies.get("account_id");
+ let { payments } = await get(`/payments?account_id=${account_id}`, auth(cookies));
return { payments };
};