From 243abb0a3d29e8e34e263eec843488e3bdb468a4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 31 Oct 2024 09:34:16 -0700 Subject: biome --- src/routes/(app)/withdraw/+server.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/routes/(app)/withdraw') diff --git a/src/routes/(app)/withdraw/+server.ts b/src/routes/(app)/withdraw/+server.ts index a75a72f8..51f6e3d0 100644 --- a/src/routes/(app)/withdraw/+server.ts +++ b/src/routes/(app)/withdraw/+server.ts @@ -1,10 +1,10 @@ import { auth, post } from "$lib/utils"; export async function POST({ cookies, request }) { - let body = await request.json(); - await post("/payments", body, auth(cookies)); + const body = await request.json(); + await post("/payments", body, auth(cookies)); - return new Response(JSON.stringify("ok"), { - headers: { "content-type": "application/json" }, - }); + return new Response(JSON.stringify("ok"), { + headers: { "content-type": "application/json" }, + }); } -- cgit v1.2.3