Skip to content

Commit

Permalink
해시태그 응답값 주소값 표기 발견으로 수정조치함
Browse files Browse the repository at this point in the history
  • Loading branch information
Hju95 committed Jan 19, 2024
1 parent 5a63926 commit ae59537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.kernel360.kernelsquare.domain.reservation_article.dto;

import com.kernel360.kernelsquare.domain.hashtag.entity.HashTag;
import com.kernel360.kernelsquare.domain.image.utils.ImageUtils;
import com.kernel360.kernelsquare.domain.member.entity.Member;
import com.kernel360.kernelsquare.domain.reservation_article.entity.ReservationArticle;
Expand Down Expand Up @@ -33,7 +34,7 @@ public static FindAllReservationArticleResponse of(
member.getLevel().getName(),
ImageUtils.makeImageUrl(member.getLevel().getImageUrl()),
article.getTitle(),
article.getHashTagList().stream().map(String::valueOf).toList(),
article.getHashTagList().stream().map(HashTag::getContent).toList(),
article.getCreatedDate(),
article.getModifiedDate(),
fullCheck
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.kernel360.kernelsquare.domain.reservation_article.dto;

import com.kernel360.kernelsquare.domain.hashtag.entity.HashTag;
import com.kernel360.kernelsquare.domain.image.utils.ImageUtils;
import com.kernel360.kernelsquare.domain.level.entity.Level;
import com.kernel360.kernelsquare.domain.member.entity.Member;
Expand Down Expand Up @@ -37,7 +38,7 @@ public static FindReservationArticleResponse of(
ImageUtils.makeImageUrl(level.getImageUrl()),
article.getTitle(),
article.getContent(),
article.getHashTagList().stream().map(String::valueOf).toList(),
article.getHashTagList().stream().map(HashTag::getContent).toList(),
reservationDtos,
article.getCreatedDate(),
article.getModifiedDate()
Expand Down

0 comments on commit ae59537

Please sign in to comment.