Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
@Builder
public class HashtagResponse {
private String tag;
private Long bookstoreId;
private String name;

public static HashtagResponse from(Hashtag hashtag) {
return HashtagResponse.builder()
.tag(hashtag.getTag())
.bookstoreId(hashtag.getBookstore().getBookstoreId())
.bookstoreId(hashtag.getBookstore().getName())
.build();
}
}