aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/sent/+page.server.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-13 23:49:59 -0800
committerAdam Soltys <[email protected]>2023-01-13 23:49:59 -0800
commit7de4b0d2cd330674dcd02d2b007c1477fd48caaa (patch)
treec8721da657a75160c55aaf6bc7cc573669cb52dd /src/routes/(app)/sent/+page.server.js
parent75e1e4e6aa2dbc7d400df1860758db28bf44b7a3 (diff)
downloadcoinos-ui-7de4b0d2cd330674dcd02d2b007c1477fd48caaa.tar.gz
coinos-ui-7de4b0d2cd330674dcd02d2b007c1477fd48caaa.zip
payments migration
Diffstat (limited to 'src/routes/(app)/sent/+page.server.js')
-rw-r--r--src/routes/(app)/sent/+page.server.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/routes/(app)/sent/+page.server.js b/src/routes/(app)/sent/+page.server.js
new file mode 100644
index 00000000..fb35e367
--- /dev/null
+++ b/src/routes/(app)/sent/+page.server.js
@@ -0,0 +1,6 @@
+import { get, auth } from '$lib/utils';
+
+export let load = async ({ cookies }) => {
+ let { payments } = await get('/payments', auth(cookies));
+ return { payments }
+}