diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-20 03:19:35 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-20 03:25:08 +0200 |
commit | 363d9887cf4956f566485d872f9ba51155198a6f (patch) | |
tree | c3fdbc27ea19231d61f0d9ee314f5897d82852c5 /src/api/routes/users/@me/mfa/totp | |
parent | Make canvas optional (diff) | |
download | server-363d9887cf4956f566485d872f9ba51155198a6f.tar.xz |
Fix merge conflicts
Diffstat (limited to 'src/api/routes/users/@me/mfa/totp')
-rw-r--r-- | src/api/routes/users/@me/mfa/totp/enable.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/routes/users/@me/mfa/totp/enable.ts b/src/api/routes/users/@me/mfa/totp/enable.ts index 413291b8..a38a133a 100644 --- a/src/api/routes/users/@me/mfa/totp/enable.ts +++ b/src/api/routes/users/@me/mfa/totp/enable.ts @@ -2,6 +2,7 @@ import { BackupCode, Config, generateMfaBackupCodes, generateToken, TotpEnableSc import { Request, Response, Router } from "express"; import { HTTPError } from "lambert-server"; import { verifyToken } from 'node-2fa'; +import { route } from '@fosscord/api'; let bcrypt: any; try { @@ -51,4 +52,4 @@ router.post("/", route({ body: "TotpEnableSchema" }), async (req: Request, res: }); }); -export default router; \ No newline at end of file +export default router; |