Update VisualizationController.cs

This commit is contained in:
rlauuzo 2024-11-10 21:28:43 +01:00 committed by GitHub
parent f70207d002
commit e5f29a91c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,7 +182,7 @@ public class VisualizationController(ILogger<VisualizationController> logger, Me
db.DbSegment.Remove(new DbSegment(introSegment, AnalysisMode.Introduction));
}
if (segments.TryGetValue(AnalysisMode.Introduction, out var creditSegment))
if (segments.TryGetValue(AnalysisMode.Credits, out var creditSegment))
{
db.DbSegment.Remove(new DbSegment(creditSegment, AnalysisMode.Credits));
}