Fix EF Core missing OrderBy warning
This commit is contained in:
@@ -73,6 +73,7 @@ public class TradeReconciliationWorker : BackgroundService
|
||||
.Where(t => t.MarketOutcomeId == null && !string.IsNullOrEmpty(t.MarketId) && !db.Markets.Any(m => m.ConditionId == t.MarketId))
|
||||
.Select(t => t.MarketId)
|
||||
.Distinct()
|
||||
.OrderBy(x => x)
|
||||
.Take(50) // Limit to avoid rate limits
|
||||
.ToListAsync(ct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user