mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Should be >= instead of <= for exclusions. Retarded.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user