From b6f7e1d18b3f2387a90da1cbfe91d96fb83b9c5c Mon Sep 17 00:00:00 2001 From: JiHwan <62228195+sgh002400@users.noreply.github.com> Date: Fri, 24 May 2024 06:37:21 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EB=B0=8F=20=EC=83=81=EC=84=B8=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=20=EC=8B=9C=20updatedDate=20->=20createdDate=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20(#200)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v1/dto/get-meeting-post/post-v1-get-post-response.dto.ts | 4 ++-- .../get-meeting-posts/post-v1-get-posts-response-post.dto.ts | 4 ++-- server/src/post/v1/post-v1.service.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/server/src/post/v1/dto/get-meeting-post/post-v1-get-post-response.dto.ts b/server/src/post/v1/dto/get-meeting-post/post-v1-get-post-response.dto.ts index 359cea38..90eb010e 100644 --- a/server/src/post/v1/dto/get-meeting-post/post-v1-get-post-response.dto.ts +++ b/server/src/post/v1/dto/get-meeting-post/post-v1-get-post-response.dto.ts @@ -96,9 +96,9 @@ export class PostV1GetPostResponseDto { @IsString() contents: string; - /** 게시글 게시/업데이트 일자 */ + /** 게시글 게시/생성 일자 */ @IsDate() - updatedDate: Date; + createdDate: Date; /** 첨부 이미지 */ @IsOptional() diff --git a/server/src/post/v1/dto/get-meeting-posts/post-v1-get-posts-response-post.dto.ts b/server/src/post/v1/dto/get-meeting-posts/post-v1-get-posts-response-post.dto.ts index 9bd73659..d47b8829 100644 --- a/server/src/post/v1/dto/get-meeting-posts/post-v1-get-posts-response-post.dto.ts +++ b/server/src/post/v1/dto/get-meeting-posts/post-v1-get-posts-response-post.dto.ts @@ -68,9 +68,9 @@ export class PostV1GetPostsResponsePostDto { @IsString() contents: string; - /** 게시글 게시/업데이트 일자 */ + /** 게시글 게시/생성 일자 */ @IsDate() - updatedDate: Date; + createdDate: Date; /** 첨부 이미지 */ @IsOptional() diff --git a/server/src/post/v1/post-v1.service.ts b/server/src/post/v1/post-v1.service.ts index a6bdd092..1fc9fb52 100644 --- a/server/src/post/v1/post-v1.service.ts +++ b/server/src/post/v1/post-v1.service.ts @@ -102,7 +102,7 @@ export class PostV1Service { id: post.id, title: post.title, contents: post.contents, - updatedDate: post.updatedDate, + createdDate: post.createdDate, images: post.images, user: { id: post.user.id, @@ -161,7 +161,7 @@ export class PostV1Service { id: post.id, title: post.title, contents: post.contents, - updatedDate: post.updatedDate, + createdDate: post.createdDate, images: post.images, user: { id: post.user.id,