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)/enable2fa/+server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/routes/(app)/enable2fa') diff --git a/src/routes/(app)/enable2fa/+server.ts b/src/routes/(app)/enable2fa/+server.ts index 6917ae21..988dd0ed 100644 --- a/src/routes/(app)/enable2fa/+server.ts +++ b/src/routes/(app)/enable2fa/+server.ts @@ -1,8 +1,8 @@ import { auth, post } from "$lib/utils"; export async function POST({ cookies, request }) { - let body = await request.json(); - let res = await post("/2fa", body, auth(cookies)); + const body = await request.json(); + const res = await post("/2fa", body, auth(cookies)); - return new Response(JSON.stringify(res)); + return new Response(JSON.stringify(res)); } -- cgit v1.2.3