Random Raid Role is no longer falesly deleted

This commit is contained in:
t.ruspekhofer 2022-03-13 23:38:18 +01:00
parent e22eea7fca
commit 8d443781a4
3 changed files with 16 additions and 2 deletions

View file

@ -62,6 +62,7 @@ namespace Lieb.Data
using var context = _contextFactory.CreateDbContext();
return context.LiebUsers
.Include(u => u.GuildWars2Accounts)
.ThenInclude(a => a.EquippedBuilds)
.FirstOrDefault(u => u.DiscordUserId == discordId);
}
else