Skip to content

Commit

Permalink
Merge branch 'refs/heads/develop' into feat/#534
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyundoh committed Oct 13, 2024
2 parents df01685 + 110516d commit 2e55f9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import com.mile.topic.domain.Topic;

public record TopicResponse(String topicId, String topicName) {
public record TopicResponse(String topicId, String topicName, String content) {
public static TopicResponse of(final Topic topic) {
return new TopicResponse(topic.getIdUrl(), topic.getKeyword());
return new TopicResponse(topic.getIdUrl(), topic.getKeyword(), topic.getContent());
}
}

0 comments on commit 2e55f9f

Please sign in to comment.