diff --git a/src/main/java/igoMoney/BE/service/ChallengeService.java b/src/main/java/igoMoney/BE/service/ChallengeService.java index b92b5f8..679b68b 100644 --- a/src/main/java/igoMoney/BE/service/ChallengeService.java +++ b/src/main/java/igoMoney/BE/service/ChallengeService.java @@ -47,6 +47,9 @@ public List getNotStartedChallengeList() { .title(challenge.getTitle()) .content(challenge.getContent()) .targetAmount(challenge.getTargetAmount()) + .startDate(challenge.getStartDate()) + .categoryId(challenge.getCategoryId()) + .term(challenge.getTerm()) .build(); responseList.add(challengeResponse); } @@ -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;