Skip to content

Commit

Permalink
Merge pull request #19 from TG-WinG/feature/blog
Browse files Browse the repository at this point in the history
fix: thumbnail url not set
  • Loading branch information
wwingyou authored Oct 14, 2024
2 parents fd6929f + 17d1441 commit a103882
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -> {
Expand Down

0 comments on commit a103882

Please sign in to comment.