removed RaidLogs

This commit is contained in:
Sarah Faey 2022-12-05 14:28:04 +01:00
parent de58541d0b
commit c96d34fc6a
10 changed files with 701 additions and 198 deletions

View file

@ -129,13 +129,6 @@ namespace Lieb.Data
await _discordService.PostRaidMessage(raidId);
}
IEnumerable<RaidLog> logs = context.RaidLogs.Where(r => r.UserId == userId);
foreach(RaidLog log in logs)
{
log.UserId = null;
}
await context.SaveChangesAsync();
LiebUser user = GetLiebUser(userId);
foreach(GuildWars2Account account in user.GuildWars2Accounts)
{