diff --git a/CompatBot/Database/Providers/SyscallInfoProvider.cs b/CompatBot/Database/Providers/SyscallInfoProvider.cs index 8d13e684..debb2ead 100644 --- a/CompatBot/Database/Providers/SyscallInfoProvider.cs +++ b/CompatBot/Database/Providers/SyscallInfoProvider.cs @@ -68,7 +68,13 @@ namespace CompatBot.Database.Providers foreach (var sci in funcsToRemove.Where(sci => sci.Function.Contains('('))) { - var productIds = await db.SyscallToProductMap.AsNoTracking().Where(m => m.SyscallInfoId == sci.Id).Select(m => m.Product.ProductCode).Distinct().ToListAsync().ConfigureAwait(false); + var productIds = await db.SyscallToProductMap + .AsNoTracking() + .Where(m => m.SyscallInfoId == sci.Id) + .Select(m => m.Product.ProductCode) + .Distinct() + .ToListAsync() + .ConfigureAwait(false); links += productIds.Count; foreach (var productId in productIds) {