Skip to content

Commit

Permalink
[FIX] 포인트 0으로 초기화 로직 추가 (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh authored Oct 17, 2024
2 parents bd9afe7 + ac96909 commit c4f4c95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public void upsertSoptampUser(PlaygroundProfile profile, Long userId) {
private void updateSoptampUser(SoptampUser registeredUser, PlaygroundProfile profile){
ActivityCardinalInfo lastActivity = profile.getLatestActivity();
String uniqueNickname = generateUniqueNickname(profile.getName(), lastActivity.getPlaygroundPart());
registeredUser.initTotalPoints();
registeredUser.updateChangedGenerationInfo(
lastActivity.getGeneration(),
findPlaygroundPartByPartName(lastActivity.getPlaygroundPart().getPartName()),
Expand Down

0 comments on commit c4f4c95

Please sign in to comment.