Skip to content

Commit 93b72e2

Browse files
committed
Fix issue where break slots didn't update from sessionize
1 parent be60c38 commit 93b72e2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PocketDDD.Server/PocketDDD.Server.Services/SessionizeService.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ public async Task UpdateFromSessionize()
8686
{
8787
EventDetail = dbEvent,
8888
From = item.startsAt,
89-
To = item.endsAt,
90-
Info = item.isServiceSession ? item.serviceSessionDetails : null
89+
To = item.endsAt
9190
};
9291
dbContext.TimeSlots.Add(dbTimeSlot);
9392
}
93+
94+
dbTimeSlot.Info = item.isServiceSession ? item.serviceSessionDetails : null;
9495
}
9596
if (dbContext.ChangeTracker.HasChanges())
9697
{

0 commit comments

Comments
 (0)