summary refs log tree commit diff
path: root/src/api/routes/auth
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-25 18:01:56 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:39:31 -0400
commit860b9d583e720ba5e3d003e1eaca81faf22e360f (patch)
treed5c8301f756fe4e4a3b85dc7f58f6003f5f62c65 /src/api/routes/auth
parentoapi: users progress (diff)
downloadserver-ts-860b9d583e720ba5e3d003e1eaca81faf22e360f.tar.xz
oapi: finish users
Diffstat (limited to 'src/api/routes/auth')
-rw-r--r--src/api/routes/auth/register.ts2
-rw-r--r--src/api/routes/auth/reset.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts

index 73a28fed..321b4a65 100644 --- a/src/api/routes/auth/register.ts +++ b/src/api/routes/auth/register.ts
@@ -45,7 +45,7 @@ router.post( route({ requestBody: "RegisterSchema", responses: { - 200: { body: "TokenResponse" }, + 200: { body: "TokenOnlyResponse" }, 400: { body: "APIErrorOrCaptchaResponse" }, }, }), diff --git a/src/api/routes/auth/reset.ts b/src/api/routes/auth/reset.ts
index cbfa4935..f97045a6 100644 --- a/src/api/routes/auth/reset.ts +++ b/src/api/routes/auth/reset.ts
@@ -38,7 +38,7 @@ router.post( requestBody: "PasswordResetSchema", responses: { 200: { - body: "TokenResponse", + body: "TokenOnlyResponse", }, 400: { body: "APIErrorOrCaptchaResponse",