diff --git a/src/main/java/store/itpick/backend/service/DebateService.java b/src/main/java/store/itpick/backend/service/DebateService.java index 1b951eb..cd2ddf4 100644 --- a/src/main/java/store/itpick/backend/service/DebateService.java +++ b/src/main/java/store/itpick/backend/service/DebateService.java @@ -224,7 +224,7 @@ public List GetDebatesByKeyword(Long keywordID, String sort) for (Debate debate : debates) { String title= debate.getTitle(); String content =debate.getContent(); - String mediaUrl =null; + String mediaUrl =debate.getImageUrl(); Long hit = debate.getHits(); Long comment = (long) debate.getComment().size(); debateList.add(new DebateByKeywordDTO(title,content,mediaUrl,hit,comment));