2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/auth/mfa/totp.ts b/src/api/routes/auth/mfa/totp.ts
index cc6e8a253..4959db10d 100644
--- a/src/api/routes/auth/mfa/totp.ts
+++ b/src/api/routes/auth/mfa/totp.ts
@@ -32,7 +32,7 @@ router.post(
200: {
body: "TokenResponse",
},
- 400: {
+ "4XX": {
body: "APIErrorResponse",
},
},
diff --git a/src/api/routes/auth/mfa/webauthn.ts b/src/api/routes/auth/mfa/webauthn.ts
index 80ff57f0f..7ec385cb8 100644
--- a/src/api/routes/auth/mfa/webauthn.ts
+++ b/src/api/routes/auth/mfa/webauthn.ts
@@ -45,7 +45,7 @@ router.post(
requestBody: "WebAuthnTotpSchema",
responses: {
200: { body: "TokenResponse" },
- 400: { body: "APIErrorResponse" },
+ "4XX": { body: "APIErrorResponse" },
},
}),
async (req: Request, res: Response) => {
|