Should be >= instead of <= for exclusions. Retarded.

This commit is contained in:
barelyprofessional
2026-01-05 19:25:23 -06:00
parent 78207b291b
commit 2664e5e0df

View File

@@ -411,7 +411,7 @@ public static class Money
{
await using var db = new ApplicationDbContext();
return (await db.Exclusions.Where(g => g.Gambler.Id == gamblerId).ToListAsync(ct))
.LastOrDefault(e => e.Expires <= DateTimeOffset.UtcNow);
.LastOrDefault(e => e.Expires >= DateTimeOffset.UtcNow);
}
/// <summary>