diff --git a/Endpoint/Sync/ScheduleSynchronizer.cs b/Endpoint/Sync/ScheduleSynchronizer.cs index 20d1e5d..d6cee1f 100644 --- a/Endpoint/Sync/ScheduleSynchronizer.cs +++ b/Endpoint/Sync/ScheduleSynchronizer.cs @@ -155,7 +155,8 @@ internal partial class ScheduleSynchronizer(UberDbContext dbContext, IOptionsSna l.IsEven == groupInfo.IsEven && l.DayOfWeek == groupInfo.Day && l.PairNumber == groupInfo.Pair && - l.Discipline?.Name == discipline.Name, + l.Discipline?.Name == discipline.Name && + l.Group?.Name == group.Name, () => { var lesson = new Lesson