Skip to content

Commit ed41999

Browse files
committed
Fix total user redis key
1 parent 5cbe5e2 commit ed41999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/users.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func (u *User) Insert() error {
186186
}
187187

188188
// Increment total user count
189-
if err := Redis.Incr(RedisCtx, "quaver:total_user").Err(); err != nil {
189+
if err := Redis.Incr(RedisCtx, "quaver:total_users").Err(); err != nil {
190190
return err
191191
}
192192

0 commit comments

Comments
 (0)