aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/disable2fa/+server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/disable2fa/+server.js')
-rw-r--r--src/routes/disable2fa/+server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/disable2fa/+server.js b/src/routes/disable2fa/+server.js
index 98063773..be09f3f4 100644
--- a/src/routes/disable2fa/+server.js
+++ b/src/routes/disable2fa/+server.js
@@ -1,7 +1,7 @@
import { auth, post } from '$lib/utils';
export async function PUT({ request }) {
- let body = await request.json();
+ let body = await request.json();
let res = await post('/disable2fa', body, auth(request));
return new Response(JSON.stringify(res));