summary refs log tree commit diff
path: root/src/api/routes/auth/login.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-25 20:36:54 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:41:49 -0400
commite68819d97ada081a21f054cb4d615283518d98e3 (patch)
tree49a0a647bceea3bebd9a3e43ea40ede6eb1d0d39 /src/api/routes/auth/login.ts
parentoapi: bug fixes (diff)
downloadserver-e68819d97ada081a21f054cb4d615283518d98e3.tar.xz
oapi: add missing 2fa types to login
Diffstat (limited to 'src/api/routes/auth/login.ts')
-rw-r--r--src/api/routes/auth/login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/login.ts b/src/api/routes/auth/login.ts
index 19a09f81..d3fc1fb4 100644
--- a/src/api/routes/auth/login.ts
+++ b/src/api/routes/auth/login.ts
@@ -40,7 +40,7 @@ router.post(
 		requestBody: "LoginSchema",
 		responses: {
 			200: {
-				body: "TokenResponse",
+				body: "LoginResponse",
 			},
 			400: {
 				body: "APIErrorOrCaptchaResponse",