aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ecash
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-25 09:50:53 -0700
committerAdam Soltys <[email protected]>2026-11-25 09:50:53 -0700
commit3a321d4e70d1244224c4643ddac8e96216bfe5f4 (patch)
treea4996d39e4aa1acbfae66bc9aefc0a931c2e8a71 /src/routes/(app)/ecash
parent032f5038e17afb80cd704b8363b8c3c8688e16b6 (diff)
downloadcoinos-ui-3a321d4e70d1244224c4643ddac8e96216bfe5f4.tar.gz
coinos-ui-3a321d4e70d1244224c4643ddac8e96216bfe5f4.zip
Fund page: show history read-only with a "discontinued" notice
Funds are closed, but a fund link fell through to the generic error page. Send the viewer's token so managers can still open a fund's history, drop the manage and share controls, and explain that funds are discontinued instead of showing an error. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6W9CsdxmhFrfaKNVHU
Diffstat (limited to 'src/routes/(app)/ecash')
-rw-r--r--src/routes/(app)/ecash/post/+server.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/routes/(app)/ecash/post/+server.ts b/src/routes/(app)/ecash/post/+server.ts
deleted file mode 100644
index bc6cb099..00000000
--- a/src/routes/(app)/ecash/post/+server.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { json } from "@sveltejs/kit";
-
-export async function POST({ fetch, request }) {
- const { target, payload } = await request.json();
- const res = await fetch(target, {
- method: "POST",
- body: JSON.stringify(payload),
- headers: { "Content-Type": "application/json" },
- });
- return json(res);
-}