We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ca4e18 + f60b73a commit e2aa4d7Copy full SHA for e2aa4d7
1 file changed
application/src/main/java/com/pinback/application/article/dto/response/SharedArticleDetailResponse.java
@@ -5,13 +5,15 @@
5
public record SharedArticleDetailResponse(
6
long articleId,
7
String ownerName,
8
- String memo
+ String memo,
9
+ String url
10
) {
11
public static SharedArticleDetailResponse from(Article article) {
12
return new SharedArticleDetailResponse(
13
article.getId(),
14
article.getUser().getUsername(),
- article.getMemo()
15
+ article.getMemo(),
16
+ article.getUrl()
17
);
18
}
19
0 commit comments