We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 742dd04 + 028db6b commit 19cd27cCopy full SHA for 19cd27c
1 file changed
src/dtos/moment.dto.js
@@ -140,6 +140,7 @@ export const responseFromMyMoments = (moments) => {
140
return {
141
momentId: typeof moment.id === 'bigint' ? BigInt(moment.id) : moment.id,
142
title: moment.title,
143
+ date: formatDate(moment.createdAt),
144
userName: moment.user?.name ?? "알 수 없음",
145
likingCount: moment.likingCount ?? 0,
146
commentCount: moment._count?.comments ?? 0,
0 commit comments