diff --git a/src/main/java/ussum/homepage/application/post/service/PostService.java b/src/main/java/ussum/homepage/application/post/service/PostService.java index 431707ea..8dd68f86 100644 --- a/src/main/java/ussum/homepage/application/post/service/PostService.java +++ b/src/main/java/ussum/homepage/application/post/service/PostService.java @@ -62,7 +62,7 @@ public void createPost(Long userId, String boardCode, PostCreateRequest postCrea //user도 찾아 와야 하지 않을까 User user = userReader.getUserWithId(userId); - postAppender.createPost(postCreateRequest.toDomain(board, user, category)); + postAppender.createPost(postCreateRequest.toDomain(board, user, category, null)); } public PostResponse editPost(String boardCode,Long postId, PostUpdateRequest postUpdateRequest) {