diff options
| author | Adam Soltys <[email protected]> | 2024-09-20 10:03:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-20 10:03:22 -0700 |
| commit | 5c86d9eadaa0021928ea39c7d0e875d0c446280f (patch) | |
| tree | 9d8465f37573f0efa1e84ce64d7d2336798cc319 /src/routes/(app)/sent | |
| parent | d4c3d52fdde5fef8f72c1f572f1ce7c70da86b23 (diff) | |
| download | coinos-ui-5c86d9eadaa0021928ea39c7d0e875d0c446280f.tar.gz coinos-ui-5c86d9eadaa0021928ea39c7d0e875d0c446280f.zip | |
import key
Diffstat (limited to 'src/routes/(app)/sent')
| -rw-r--r-- | src/routes/(app)/sent/+page.server.ts | 4 |
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 }; }; |
