aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/subscription
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/subscription')
-rw-r--r--src/routes/(app)/subscription/+server.ts6
-rw-r--r--src/routes/(app)/subscription/delete/+server.ts6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/routes/(app)/subscription/+server.ts b/src/routes/(app)/subscription/+server.ts
index 47dfc770..f25db99a 100644
--- a/src/routes/(app)/subscription/+server.ts
+++ b/src/routes/(app)/subscription/+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", body, auth(cookies));
- return json(result);
+ const body = await request.json();
+ const result = await post("/subscription", body, auth(cookies));
+ return json(result);
}
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);
}