GetRaids no longer reads RaidLogs for performance reasons

This commit is contained in:
Sarah Faey 2022-12-04 22:16:24 +01:00
parent 377f4dc83b
commit 0292de371d

View file

@ -20,7 +20,6 @@ namespace Lieb.Data
using var context = _contextFactory.CreateDbContext();
return context.Raids
.Include(r => r.Roles)
.Include(r => r.RaidLogs)
.Include(r => r.Reminders)
.Include(r => r.SignUps)
.ThenInclude(s => s.LiebUser)