From 860b9d583e720ba5e3d003e1eaca81faf22e360f Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sat, 25 Mar 2023 18:01:56 -0400 Subject: oapi: finish users --- src/api/routes/auth/register.ts | 2 +- src/api/routes/auth/reset.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api/routes/auth') 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", -- cgit 1.5.1