Skip to content

Commit

Permalink
Merge pull request #89 from road-found-in-the-text/feature/#87/paragraph
Browse files Browse the repository at this point in the history
contents 수정
  • Loading branch information
ahyeon-github authored Feb 7, 2023
2 parents 407d30b + 0834b7c commit 084193e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ public static class Register {
@Getter
@Setter
public static class Update {
@NotNull(message = "title은 필수 입력값입니다.")
@NotNull(message = "필수 입력값입니다.")
private String title;
private String contents;


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ResponseEntity<?> success(Paragraph paragraph) {
.scriptId(paragraph.getScriptId().getScriptId())
.paragraphId(paragraph.getParagraphId())
.title(paragraph.getTitle())
.contents("no contents")
.contents(paragraph.getContents())
.createdDate(paragraph.getCreatedDate())
.modifiedDate(paragraph.getModifiedDate())
.build();
Expand Down

0 comments on commit 084193e

Please sign in to comment.