fix yaml playout builds (#2241)

This commit is contained in:
Jason Dove
2025-08-03 01:18:27 +00:00
committed by GitHub
parent 8921273900
commit f04b7ead09
6 changed files with 41 additions and 7 deletions
@@ -45,6 +45,7 @@ public class ConfigElementRepository : IConfigElementRepository
{
await using TvContext dbContext = await _dbContextFactory.CreateDbContextAsync();
return await dbContext.ConfigElements
.AsNoTracking()
.OrderBy(ce => ce.Key)
.SingleOrDefaultAsync(ce => ce.Key == key.Key)
.Map(Optional);