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 | f91b6cfc87ae35bc85472422f73e328778fa4a9e (patch) | |
| tree | 30b06d929a175f0e74ef1da87e3d474f9068ad6c /src/routes/enable2fa | |
| parent | 61bd51f870143bc5050946d3a012b08708aac4d1 (diff) | |
| download | coinos-ui-f91b6cfc87ae35bc85472422f73e328778fa4a9e.tar.gz coinos-ui-f91b6cfc87ae35bc85472422f73e328778fa4a9e.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)); |
