Skip to content

Commit

Permalink
Merge pull request #168 from pknu-wap/fix/찐찐찐막
Browse files Browse the repository at this point in the history
찐막
  • Loading branch information
Due-IT authored Nov 29, 2023
2 parents bf4fd58 + 5bcde36 commit 7927896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PostBasicDto {
private String title;
private String content;
private String thumbnail;
private List<String> hashtags; //TODO 리스트로 주고 받는게 편할듯?
private List<String> hashtags;

public static <T extends TemplateTemporary> PostBasicDto of(T templateTemporary, List<String> hashtags) {
return new PostBasicDto(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class GuestbookService {
public void save(UserPrincipal userPrincipal, GuestbookMessageRequest req) {
User user = userRepository.findById(userPrincipal.getId()).get();
Blog blog = user.getBlog();
Guestbook guestBook = blog.getGuestBook();
Guestbook guestBook = guestbookRepository.findById(req.getGuestbookId()).get();

BookMessage bookMessage = new BookMessage();
bookMessage.setMessage(req.getMessage());
Expand Down

0 comments on commit 7927896

Please sign in to comment.