diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts
index b85120d84..8a641781c 100644
--- a/src/api/routes/auth/verify/index.ts
+++ b/src/api/routes/auth/verify/index.ts
@@ -46,7 +46,7 @@ router.post(
200: {
body: "TokenResponse",
},
- 400: {
+ "4XX": {
body: "APIErrorOrCaptchaResponse",
},
},
diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts
index c9696ebdc..9c72cd6ce 100644
--- a/src/api/routes/auth/verify/resend.ts
+++ b/src/api/routes/auth/verify/resend.ts
@@ -28,7 +28,7 @@ router.post(
right: "RESEND_VERIFICATION_EMAIL",
responses: {
204: {},
- 400: {
+ "4XX": {
body: "APIErrorResponse",
},
500: {
diff --git a/src/api/routes/auth/verify/view-backup-codes-challenge.ts b/src/api/routes/auth/verify/view-backup-codes-challenge.ts
index 811de5084..b040238dd 100644
--- a/src/api/routes/auth/verify/view-backup-codes-challenge.ts
+++ b/src/api/routes/auth/verify/view-backup-codes-challenge.ts
@@ -29,7 +29,7 @@ router.post(
requestBody: "BackupCodesChallengeSchema",
responses: {
200: { body: "BackupCodesChallengeResponse" },
- 400: { body: "APIErrorResponse" },
+ "4XX": { body: "APIErrorResponse" },
},
}),
async (req: Request, res: Response) => {
|