aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/fund
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
committerAdam Soltys <[email protected]>2026-03-03 22:45:50 -0800
commit1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1 (patch)
tree29399a82df3f981a24ef6cc84562c8ee006738d7 /src/routes/(app)/fund
parente66a08d18f2bef2eccfe84042a2674141a73d1c2 (diff)
downloadcoinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.tar.gz
coinos-ui-1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1.zip
api proxy
Diffstat (limited to 'src/routes/(app)/fund')
-rw-r--r--src/routes/(app)/fund/[id]/access/+page.svelte2
-rw-r--r--src/routes/(app)/fund/[id]/withdraw/+server.ts6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/routes/(app)/fund/[id]/access/+page.svelte b/src/routes/(app)/fund/[id]/access/+page.svelte
index d2d10ff0..3c9f6410 100644
--- a/src/routes/(app)/fund/[id]/access/+page.svelte
+++ b/src/routes/(app)/fund/[id]/access/+page.svelte
@@ -15,7 +15,7 @@
let del = async (e, user) => {
e.preventDefault();
try {
- m = await post(`/post/fund/${id}/managers/delete`, {
+ m = await post(`/api/fund/${id}/managers/delete`, {
id: user.id,
});
} catch (e: any) {
diff --git a/src/routes/(app)/fund/[id]/withdraw/+server.ts b/src/routes/(app)/fund/[id]/withdraw/+server.ts
deleted file mode 100644
index 96d66413..00000000
--- a/src/routes/(app)/fund/[id]/withdraw/+server.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { json } from "@sveltejs/kit";
-import { auth, post } from "$lib/utils";
-
-export async function POST({ cookies, request }) {
- return json(await post("/take", await request.json(), auth(cookies)));
-}