Skip to content

Commit

Permalink
fix top players
Browse files Browse the repository at this point in the history
  • Loading branch information
ZOXEXIVO committed Nov 9, 2022
1 parent 8a7c1db commit ca83e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backend/Geen.Data/Repositories/PlayerRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private async Task<List<PlayerModel>> GetTopClubPlayerModels(string clubUrlName)

private async Task<List<PlayerModel>> GetTopGlobalPlayerModels()
{
var dateTime = DateTime.UtcNow.AddYears(-1);
var dateTime = DateTime.UtcNow.AddYears(-3);

var filter = Builders<MentionEntity>.Filter
.Where(x => x.Player.UrlName != null && x.Date > dateTime);
Expand Down

0 comments on commit ca83e79

Please sign in to comment.