diff options
| author | Adam Soltys <[email protected]> | 2022-10-04 00:42:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-04 00:42:00 -0700 |
| commit | 81fc48aa58d932a19fb578e47170c06b3992d03a (patch) | |
| tree | 30b06d929a175f0e74ef1da87e3d474f9068ad6c /src/routes/enable2fa | |
| parent | 63f1a6780bab85ebb48ca1fc142cc6beaf772faa (diff) | |
| download | coinos-ui-81fc48aa58d932a19fb578e47170c06b3992d03a.tar.gz coinos-ui-81fc48aa58d932a19fb578e47170c06b3992d03a.zip | |
refactoring
Diffstat (limited to 'src/routes/enable2fa')
| -rw-r--r-- | src/routes/enable2fa/+server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/enable2fa/+server.js b/src/routes/enable2fa/+server.js index 3120e613..344850da 100644 --- a/src/routes/enable2fa/+server.js +++ b/src/routes/enable2fa/+server.js @@ -1,6 +1,6 @@ import { auth, post } from '$lib/utils'; -export async function PUT({ cookies, request }) { +export async function POST({ cookies, request }) { let body = await request.json(); let res = await post('/2fa', body, auth(cookies)); |
