Skip to content

Commit

Permalink
[dw] test
Browse files Browse the repository at this point in the history
  • Loading branch information
totobon6125 committed Nov 2, 2023
1 parent fae336d commit cb9c5b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface IOAuthUser {
@ApiTags('Auth')
@ApiOkResponse({ type: AuthEntity })
export class AuthController {
constructor(private readonly authService: AuthService) {}
constructor(private readonly authService: AuthService) { }
//-----------------------로그인-----------------------------//
@ApiOperation({ summary: '로그인' })
@ApiResponse({ status: 200, description: '로그인에 성공하셨습니다.' })
Expand All @@ -48,6 +48,8 @@ export class AuthController {
password,
res,
});
console.log("로그인 안되는 사람", accessToken)
console.log("로그인 안되는 사람", refreshToken)
res.header('accessToken', accessToken);
res.header('refreshToken', refreshToken);
res.status(200).json({ userId });
Expand Down

0 comments on commit cb9c5b8

Please sign in to comment.