Skip to content

Commit

Permalink
[Fix]: 챌린지 update 메소드 반환값 생략
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonssshyeon committed Sep 19, 2024
1 parent bf32bef commit 082c28c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@ public static Challenge create(ChallengeGroupCommand.CreateChallenge command, Ch
.build();
}

public Challenge update(ChallengeGroupCommand.UpdateChallenge command) {
public void update(ChallengeGroupCommand.UpdateChallenge command) {
this.onceExp = command.getOnceExp();
this.successExp = command.getSuccessExp();
this.difficulty = command.getDifficulty();
this.requiredCount = command.getRequiredCount();
this.activePeriod = command.getActivePeriod();
return this;
}

protected boolean updateChallengeIfPresent(List<ChallengeGroupCommand.UpdateChallenge> command) {
Expand Down

0 comments on commit 082c28c

Please sign in to comment.