Added RaidTemplate sites

This commit is contained in:
t.ruspekhofer 2022-03-13 14:57:48 +01:00
parent e30645c505
commit dd79b0e333
7 changed files with 499 additions and 2 deletions

View file

@ -34,7 +34,7 @@ namespace Lieb.Data
DateTime UTCStartTime = TimeZoneInfo.ConvertTimeToUtc(template.StartTime, timeZone);
if(UTCStartTime.AddDays(-template.CreateDaysBefore).AddHours(1) < DateTime.UtcNow)
{
raidTemplateService.CreateNewRaid(template.RaidTemplateId).Wait();
raidTemplateService.CreateRaidFromTemplate(template.RaidTemplateId).Wait();
}
}