Skip to content

Commit

Permalink
refactor: Modify request param (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: Ahyun0326 <[email protected]>
  • Loading branch information
chaeeun-Han and Ahyun0326 committed Apr 4, 2024
1 parent 18c8419 commit 07ccc1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class PostsRequestDto {
private Long categoryId;
private String summary;

public Posts toEntity(Long uid) {
public Posts toEntity(Long uid, String summary) {
Date now = Date.from(Instant.now());
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String writeDatetime = simpleDateFormat.format(now);
Expand Down

0 comments on commit 07ccc1f

Please sign in to comment.