fix: dto returns

This commit is contained in:
Elias Schneider
2022-10-10 17:58:42 +02:00
parent 4bab33ad8a
commit 02beb66910
9 changed files with 20 additions and 17 deletions

View File

@@ -6,10 +6,11 @@ import {
Post,
} from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import { UserDTO } from "src/user/dto/user.dto";
import { AuthService } from "./auth.service";
import { AuthDTO } from "./dto/auth.dto";
import { AuthRegisterDTO } from "./dto/authRegister.dto";
import { AuthSignInDTO } from "./dto/authSignIn.dto";
import { RefreshAccessTokenDTO } from "./dto/refreshAccessToken.dto";
@Controller("auth")
@@ -27,7 +28,7 @@ export class AuthController {
}
@Post("signIn")
signIn(@Body() dto: AuthDTO) {
signIn(@Body() dto: AuthSignInDTO) {
return this.authService.signIn(dto);
}