summary refs log tree commit diff
path: root/src/api/routes/auth/verify/resend.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-27 15:24:14 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:41:49 -0400
commit4824e146612bb2f33b9b3a25d8399efdcc7ef8f6 (patch)
treeb291792632431435a744af62b5ef2369efb72c97 /src/api/routes/auth/verify/resend.ts
parentoapi: add missing 2fa types to login (diff)
downloadserver-4824e146612bb2f33b9b3a25d8399efdcc7ef8f6.tar.xz
oapi: fix a few response types in auth
Diffstat (limited to 'src/api/routes/auth/verify/resend.ts')
-rw-r--r--src/api/routes/auth/verify/resend.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/api/routes/auth/verify/resend.ts b/src/api/routes/auth/verify/resend.ts
index 215308ec..701f0ea8 100644
--- a/src/api/routes/auth/verify/resend.ts
+++ b/src/api/routes/auth/verify/resend.ts
@@ -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) => {