oapi: fix a few response types in auth
This commit is contained in:
parent
e68819d97a
commit
4824e14661
@ -35,7 +35,7 @@ router.post(
|
||||
responses: {
|
||||
204: {},
|
||||
400: {
|
||||
body: "APIErrorResponse",
|
||||
body: "APIErrorOrCaptchaResponse",
|
||||
},
|
||||
500: {
|
||||
body: "APIErrorResponse",
|
||||
|
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user