Skip to content

Commit

Permalink
Remove finished condition
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorbayless committed Jan 27, 2024
1 parent 71d2450 commit a407dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/game/src/main/Query.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object Query:
val mate: Bdoc = status(Status.Mate)

def draw(u: UserId): Bdoc =
user(u) ++ finished ++ F.winnerId.$exists(false) ++ $doc(
user(u) ++ F.winnerId.$exists(false) ++ $doc(
F.status $in List(Status.Stalemate.id, Status.Draw.id)
)

Expand Down

0 comments on commit a407dc5

Please sign in to comment.