Skip to content

Commit 19cd27c

Browse files
authored
Merge pull request #105 from PLANALOG/develop
Fix: moment목록조회api에 date 반환데이터 추가
2 parents 742dd04 + 028db6b commit 19cd27c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dtos/moment.dto.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ export const responseFromMyMoments = (moments) => {
140140
return {
141141
momentId: typeof moment.id === 'bigint' ? BigInt(moment.id) : moment.id,
142142
title: moment.title,
143+
date: formatDate(moment.createdAt),
143144
userName: moment.user?.name ?? "알 수 없음",
144145
likingCount: moment.likingCount ?? 0,
145146
commentCount: moment._count?.comments ?? 0,

0 commit comments

Comments
 (0)