Skip to content

Commit

Permalink
댓글 수정DTO 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeg00 committed Mar 20, 2024
1 parent c9672ba commit 57befba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/example/just/Dao/Post.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void changePost(PutPostDto postDto, Member member, Post post) {
this.secret = postDto.getSecret();
this.postContent = postDto.getPost_content();
this.hashTagMaps = new ArrayList<>();
for (int i = 0; i < postDto.getHash_tage().size(); i++) {
for (int i = 0; i < postDto.getHash_tage().size(); i++) { //여기 문제
HashTagMap hashTagMap = new HashTagMap();
hashTagMap.setPost(this);
hashTagMap.setHashTag(new HashTag(postDto.getHash_tage().get(i)));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/example/just/Dto/PutPostDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class PutPostDto {

private List<String> post_content; //글 내용

private List<String> hash_tage; //글 태그/글 태그
private List<String> hash_tag; //글 태그/글 태그

private Long post_picture;

Expand Down

0 comments on commit 57befba

Please sign in to comment.