diff options
Diffstat (limited to 'src/routes/(app)/subscription/delete')
| -rw-r--r-- | src/routes/(app)/subscription/delete/+server.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/subscription/delete/+server.ts b/src/routes/(app)/subscription/delete/+server.ts index f4c8357c..1e6c1fdd 100644 --- a/src/routes/(app)/subscription/delete/+server.ts +++ b/src/routes/(app)/subscription/delete/+server.ts @@ -2,7 +2,7 @@ import { auth, post } from "$lib/utils"; import { json } from "@sveltejs/kit"; export async function POST({ cookies, request }) { - const body = await request.json(); - const result = await post("/subscription/delete", body, auth(cookies)); - return json(result); + const body = await request.json(); + const result = await post("/subscription/delete", body, auth(cookies)); + return json(result); } |
