oapi: fix a few response types in auth

This commit is contained in:
Puyodead1 2023-03-27 15:24:14 -04:00
parent e68819d97a
commit 4824e14661
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 7 additions and 3 deletions

View File

@ -35,7 +35,7 @@ router.post(
responses: {
204: {},
400: {
body: "APIErrorResponse",
body: "APIErrorOrCaptchaResponse",
},
500: {
body: "APIErrorResponse",

View File

@ -28,8 +28,12 @@ router.post(
right: "RESEND_VERIFICATION_EMAIL",
responses: {
204: {},
400: {},
500: {},
400: {
body: "APIErrorResponse",
},
500: {
body: "APIErrorResponse",
},
},
}),
async (req: Request, res: Response) => {