Skip to content

Commit

Permalink
Don't send fake data when the country has no players in the leaderboa…
Browse files Browse the repository at this point in the history
…rd (#69)
  • Loading branch information
cmyui authored Jul 31, 2024
1 parent 5a2a064 commit cba67b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/v1/leaderboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func LeaderboardGET(md common.MethodData) common.CodeMessager {
var resp leaderboardResponse
resp.Code = 200
if len(results) == 0 {
resp.Users = getLbUsersDb(p, l, rx, modeInt, sort, &md)
return resp
}

Expand Down

0 comments on commit cba67b3

Please sign in to comment.