Skip to content

Commit 0fe2db0

Browse files
authored
chore: updateRank의 hashkey 값 이름 정정
1 parent 1519c09 commit 0fe2db0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/main/java/io/f1/backend/domain/stat/dao/StatRedisRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public void updateRank(long userId, boolean win, int deltaScore) {
110110
String statUserKey = getStatUserKey(userId);
111111

112112
zSetOps.incrementScore(STAT_RANK, getStatUserKey(userId), deltaScore);
113-
hashOps.increment(statUserKey, "totalGame", 1);
113+
hashOps.increment(statUserKey, "totalGames", 1);
114114
if (win) {
115-
hashOps.increment(statUserKey, "winningGame", 1);
115+
hashOps.increment(statUserKey, "winningGames", 1);
116116
}
117117
}
118118

0 commit comments

Comments
 (0)