aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/withdraw/+server.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-31 09:34:16 -0700
committerAdam Soltys <[email protected]>2024-10-31 09:34:16 -0700
commitd57d7b9aa8c038ca175ba58bb24839a4fa9dfb82 (patch)
treebe55931ba0f3c110c3001f56a5339cb63e78b761 /src/routes/(app)/withdraw/+server.ts
parenteb4e11fd5e90284585e5c3c7bc9e86febaa29114 (diff)
downloadcoinos-ui-d57d7b9aa8c038ca175ba58bb24839a4fa9dfb82.tar.gz
coinos-ui-d57d7b9aa8c038ca175ba58bb24839a4fa9dfb82.zip
biome
Diffstat (limited to 'src/routes/(app)/withdraw/+server.ts')
-rw-r--r--src/routes/(app)/withdraw/+server.ts10
1 files changed, 5 insertions, 5 deletions
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" },
+ });
}