diff options
| author | Adam Soltys <[email protected]> | 2023-12-01 20:04:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-01 20:04:13 -0800 |
| commit | e69768ba8e777fd0b2778aad73e17267870226ea (patch) | |
| tree | d1189bbaa39db204633523132a7d4767b952717d /src/routes/(app)/enable2fa/+server.js | |
| parent | 57b64c96e30da2f733c1043030bc83227855f6b1 (diff) | |
| download | coinos-ui-e69768ba8e777fd0b2778aad73e17267870226ea.tar.gz coinos-ui-e69768ba8e777fd0b2778aad73e17267870226ea.zip | |
prettier
Diffstat (limited to 'src/routes/(app)/enable2fa/+server.js')
| -rw-r--r-- | src/routes/(app)/enable2fa/+server.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/enable2fa/+server.js b/src/routes/(app)/enable2fa/+server.js index 344850da..6917ae21 100644 --- a/src/routes/(app)/enable2fa/+server.js +++ b/src/routes/(app)/enable2fa/+server.js @@ -1,8 +1,8 @@ -import { auth, post } from '$lib/utils'; +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)); + let body = await request.json(); + let res = await post("/2fa", body, auth(cookies)); - return new Response(JSON.stringify(res)); + return new Response(JSON.stringify(res)); } |
