From 17d14416183b2e1f32c5de58fa11243550035cef Mon Sep 17 00:00:00 2001 From: wingyou Date: Mon, 14 Oct 2024 19:46:32 +0900 Subject: [PATCH] fix: thumbnail url not set --- src/main/java/kr/tgwing/tech/blog/service/PostServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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 -> {