Skip to content

Commit ca942fc

Browse files
authored
Merge pull request #280 from Modagbul/hotfix
2 parents 5dfc68b + 8ed717d commit ca942fc

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/main/java/com/moing/backend/domain/missionArchive/application/mapper/MissionArchiveMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static MissionArchive mapToMissionArchive(MissionArchiveReq missionArchiv
2929
.mission(mission)
3030
.heartList(new ArrayList<>())
3131
.contents(missionArchiveReq.getContents())
32+
.commentNum(0L)
3233
.build();
3334
}
3435

src/main/java/com/moing/backend/domain/teamScore/application/service/TeamScoreGetUseCase.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@ public TeamScoreRes getTeamScoreInfo(Long teamId) {
2323
Long level = teamScore.getLevel();
2424
Long score = teamScore.getScore();
2525

26-
// 70 레벨 이상은 경험치 120 되어야 레벨업 가능. level을 각 레벨 별 필요한 경험치 수에 따르 퍼센트로 계산
27-
if (level > 70) {
28-
score = ( score / 120 ) * 100;
29-
}
3026

3127
return TeamScoreRes.builder()
32-
.score(score)
28+
.score(score%100)
3329
.level(level)
3430
.build();
3531

0 commit comments

Comments
 (0)