aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
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);