Skip to content

Commit

Permalink
Type: ChallengeService - categoryId, startDate 반영 추가 (#47)
Browse files Browse the repository at this point in the history
[Chore] ChallengeService - categoryId, startDate 반영 추가
  • Loading branch information
pingowl authored Oct 11, 2023
2 parents 5d2f477 + 6893f0f commit 9331ff1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/igoMoney/BE/service/ChallengeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public List<ChallengeResponse> getNotStartedChallengeList() {
.title(challenge.getTitle())
.content(challenge.getContent())
.targetAmount(challenge.getTargetAmount())
.startDate(challenge.getStartDate())
.categoryId(challenge.getCategoryId())
.term(challenge.getTerm())
.build();
responseList.add(challengeResponse);
}
Expand Down Expand Up @@ -79,6 +82,8 @@ public ChallengeResponse getMyActiveChallenge(Long userId) {
.content(challenge.getContent())
.categoryId(challenge.getCategoryId())
.targetAmount(challenge.getTargetAmount())
.startDate(challenge.getStartDate())
.term(challenge.getTerm())
.build();

return response;
Expand Down

0 comments on commit 9331ff1

Please sign in to comment.