diff --git a/src/api/routes/auth/forgot.ts b/src/api/routes/auth/forgot.ts index 80ffb22..6fa8602 100644 --- a/src/api/routes/auth/forgot.ts +++ b/src/api/routes/auth/forgot.ts @@ -35,7 +35,7 @@ responses: { 204: {}, 400: { - body: "APIErrorResponse", + body: "APIErrorOrCaptchaResponse", }, 500: { body: "APIErrorResponse", diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts index 215308e..701f0ea 100644 --- a/src/api/routes/auth/verify/resend.ts +++ b/src/api/routes/auth/verify/resend.ts @@ -28,8 +28,12 @@ right: "RESEND_VERIFICATION_EMAIL", responses: { 204: {}, - 400: {}, - 500: {}, + 400: { + body: "APIErrorResponse", + }, + 500: { + body: "APIErrorResponse", + }, }, }), async (req: Request, res: Response) => {