We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10dbff1 commit d8e1e95Copy full SHA for d8e1e95
Snittlistan.Web/Commands/GetRostersFromBitsCommandHandler.cs
@@ -141,7 +141,8 @@ public override async Task Handle(HandlerContext<Command> context)
141
List<Roster> actualRemoved = new();
142
foreach (Roster roster in toRemove)
143
{
144
- if (roster.MatchResultId is null && roster.Turn > 20)
+ // only regular season games, playoff is handled differently
145
+ if (roster.MatchResultId is null && roster.Turn <= 20)
146
147
CompositionRoot.DocumentSession.Delete(roster);
148
actualRemoved.Add(roster);
0 commit comments