Skip to content

Commit

Permalink
Merge pull request #94 from KNU-HAEDAL/issue/#92
Browse files Browse the repository at this point in the history
[Feat]: ChallengeGroupRes.Challenge에 period 추가
  • Loading branch information
momnpa333 authored Sep 13, 2024
2 parents 8af45be + 545de13 commit 037aa31
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public record Challenge(
Integer difficulty,
Integer onceExp,
Integer successExp,
Integer count
Integer count,
Integer period
) {

public static Challenge from(
Expand All @@ -119,6 +120,7 @@ public static Challenge from(
.difficulty(challenge.difficulty())
.onceExp(challenge.onceExp())
.successExp(challenge.successExp())
.period(challenge.activePeriod())
.count(challenge.requiredCount())
.build();
}
Expand Down

0 comments on commit 037aa31

Please sign in to comment.