add option to shuffle schedule items (#652)
* add schedule setting * it works * fix tests * update readme * rebuild all playouts
This commit is contained in:
@@ -21,7 +21,7 @@ namespace ErsatzTV.Application.ProgramSchedules.Queries
|
||||
GetProgramScheduleById request,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
await using TvContext dbContext = _dbContextFactory.CreateDbContext();
|
||||
await using TvContext dbContext = await _dbContextFactory.CreateDbContextAsync(cancellationToken);
|
||||
return await dbContext.ProgramSchedules
|
||||
.SelectOneAsync(ps => ps.Id, ps => ps.Id == request.Id)
|
||||
.MapT(ProjectToViewModel);
|
||||
|
||||
Reference in New Issue
Block a user