Skip to content

Commit

Permalink
fix: thumbnailImgUrl response to camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
JonghunAn committed Jul 20, 2024
1 parent 50a3d73 commit d76efc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/posts/response/listPost.response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ListPostItem {
readAt: Date;

@ApiProperty({ required: false, description: 'URL og 이미지' })
thumbnail_img_url: string;
thumbnailImgUrl: string;

@ApiProperty({
required: true,
Expand All @@ -46,7 +46,7 @@ export class ListPostItem {
this.description = data.description;
this.isFavorite = data.isFavorite;
this.readAt = data.readAt;
this.thumbnail_img_url = data.thumbnailImgUrl;
this.thumbnailImgUrl = data.thumbnailImgUrl;
this.aiStatus = data.aiStatus;
}
}
Expand Down

0 comments on commit d76efc0

Please sign in to comment.