fixed errors while logging raids
SQlite is now also used in production
This commit is contained in:
parent
7d6bc48dba
commit
fc5e75cc9d
5 changed files with 12 additions and 20 deletions
|
@ -35,6 +35,7 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
public static RaidLog CreateRaidLog(ulong userId, Raid raid)
|
||||
{
|
||||
raid.RaidLogs.Clear();
|
||||
raid.Reminders.Clear();
|
||||
return new RaidLog()
|
||||
{
|
||||
Type = LogType.Raid,
|
||||
|
@ -61,6 +62,7 @@ namespace Lieb.Models.GuildWars2.Raid
|
|||
public static RaidLog CreateRaidTemplateLog(ulong userId, RaidTemplate template)
|
||||
{
|
||||
template.TemplateLogs.Clear();
|
||||
template.Reminders.Clear();
|
||||
return new RaidLog()
|
||||
{
|
||||
Type = LogType.RaidTemplate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue