We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcf8361 commit 5ed5676Copy full SHA for 5ed5676
src/auth/auth.controller.ts
@@ -13,6 +13,7 @@ import { NaverAuthGuard } from './guards/naver.auth.guard';
13
import { AuthGuard } from './guards/jwt.auth.guard';
14
import { BaseResponse } from '../common/response/dto';
15
import { GetUserInfo } from 'src/user/dto/response/get-user.response';
16
+import dayjs from 'dayjs';
17
18
@Controller('auth')
19
@ApiTags('[서비스] Auth 관련')
@@ -73,6 +74,7 @@ export class AuthController {
73
74
profilePictureUrl: user.profilePictureUrl,
75
name: user.name,
76
phoneNumber: user.phoneNumber,
77
+ birthDate: dayjs(user.birthDate).format('YYYY-MM-DD'),
78
bio: user.bio,
79
});
80
}
0 commit comments