diff --git a/src/main/java/kr/tgwing/tech/blog/service/PostServiceImpl.java b/src/main/java/kr/tgwing/tech/blog/service/PostServiceImpl.java index ca18879..0ffcb88 100644 --- a/src/main/java/kr/tgwing/tech/blog/service/PostServiceImpl.java +++ b/src/main/java/kr/tgwing/tech/blog/service/PostServiceImpl.java @@ -58,6 +58,7 @@ public PostDetail createPost(PostForm form, String writerStudentNumber) { Post newPost = Post.builder() .title(form.getTitle()) .content(form.getContent()) + .thumbnail(form.getThumbnail()) .writer(writer) .build(); form.getHashtags().forEach(hashtag -> {