aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-28 19:26:24 -0800
committerAdam Soltys <[email protected]>2026-02-28 19:26:24 -0800
commit36ae7b0cfc66aa614287f96ac2be85ff183130a2 (patch)
tree22123b31d177505b0b6b8fada34a86c42aed8ef2 /src/routes
parent41467c51e2def5c8932e1dd967f3cfe04e0cc563 (diff)
downloadcoinos-ui-36ae7b0cfc66aa614287f96ac2be85ff183130a2.tar.gz
coinos-ui-36ae7b0cfc66aa614287f96ac2be85ff183130a2.zip
use post endpoint
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/(app)/account/[id]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte
index cae3d030..6a83b153 100644
--- a/src/routes/(app)/account/[id]/+page.svelte
+++ b/src/routes/(app)/account/[id]/+page.svelte
@@ -126,7 +126,7 @@
let del = async () => {
try {
- await post("/api/account/delete", { id });
+ await post("/post/account/delete", { id });
goto(`/${user.username}`);
} catch (e: any) {
fail(e.message);