Skip to content

Commit

Permalink
[Fix] fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
bayy1216 committed Jun 1, 2024
1 parent 2b343fe commit 62cad1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ChallengeGroupQueryService {

@Transactional(readOnly = true)
public ChallengeGroupModel.Detail getChallengeGroupDetail(Long challengeGroupId) {
ChallengeGroup challengeGroup = challengeGroupReader.getById(challengeGroupId);
ChallengeGroup challengeGroup = challengeGroupReader.getByIdWithChallenges(challengeGroupId);
List<ChallengeGroupImage> challengeGroupImages = challengeGroupImageReader.getByChallengeGroupId(challengeGroupId);
return ChallengeGroupModel.Detail.from(challengeGroup, challengeGroupImages);
}
Expand Down

0 comments on commit 62cad1a

Please sign in to comment.