diff options
| author | Adam Soltys <[email protected]> | 2024-09-12 15:23:45 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 09:19:25 -0700 |
| commit | 2114156be3f89a2ef4c5bd13fd6d7a51d8fbc135 (patch) | |
| tree | ae764021c0f9017493366862d42ea6cac904a76e /src/routes/(app)/sent | |
| parent | 1f63848ca9fb01336f04b41434de1cc06a5b3d93 (diff) | |
| download | coinos-ui-2114156be3f89a2ef4c5bd13fd6d7a51d8fbc135.tar.gz coinos-ui-2114156be3f89a2ef4c5bd13fd6d7a51d8fbc135.zip | |
self custodial send
Diffstat (limited to 'src/routes/(app)/sent')
| -rw-r--r-- | src/routes/(app)/sent/+page.server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/sent/+page.server.ts b/src/routes/(app)/sent/+page.server.ts index 62a4d9b4..4cf580ee 100644 --- a/src/routes/(app)/sent/+page.server.ts +++ b/src/routes/(app)/sent/+page.server.ts @@ -1,6 +1,7 @@ import { get, auth } from "$lib/utils"; export let load = async ({ cookies }) => { - let { payments } = await get("/payments", auth(cookies)); + let account = cookies.get("account"); + let { payments } = await get(`/payments?account=${account}`, auth(cookies)); return { payments }; }; |
