Skip to content

Commit 5ed5676

Browse files
committed
feat: dayjs 수정
1 parent fcf8361 commit 5ed5676

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/auth/auth.controller.ts

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { NaverAuthGuard } from './guards/naver.auth.guard';
1313
import { AuthGuard } from './guards/jwt.auth.guard';
1414
import { BaseResponse } from '../common/response/dto';
1515
import { GetUserInfo } from 'src/user/dto/response/get-user.response';
16+
import dayjs from 'dayjs';
1617

1718
@Controller('auth')
1819
@ApiTags('[서비스] Auth 관련')
@@ -73,6 +74,7 @@ export class AuthController {
7374
profilePictureUrl: user.profilePictureUrl,
7475
name: user.name,
7576
phoneNumber: user.phoneNumber,
77+
birthDate: dayjs(user.birthDate).format('YYYY-MM-DD'),
7678
bio: user.bio,
7779
});
7880
}

0 commit comments

Comments
 (0)