Skip to content

Commit

Permalink
Restore certificates query
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Jan 21, 2025
1 parent f6859f1 commit 1c924d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public async Task<IEnumerable<CompetitiveModeCertificate>> GetCompetitiveCertifi
p =>
p.UserId == userId
&& (p.Game.GameEnd < now || p.Game.GameEnd == DateTimeOffset.MinValue)
// && p.Game.CertificateTemplateId != null
&& p.Game.CertificateTemplateId != null
)
.WhereDateIsNotEmpty(p => p.SessionEnd)
.Where(p => p.Challenges.All(c => c.PlayerMode == PlayerMode.Competition))
Expand Down

0 comments on commit 1c924d7

Please sign in to comment.