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,