From 3ec3fc79c631c83af00dbbd77eefae144b76a7ee Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 18 Oct 2024 20:49:56 +0200 Subject: Fix bug when inserting winners in level 2 tournament. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.js') diff --git a/server.js b/server.js index 3540a7c..37b8f75 100644 --- a/server.js +++ b/server.js @@ -2813,7 +2813,7 @@ const TM_SELECT_GAMES = SQL(` game_id `) -const TM_SELECT_WINNERS = SQL("select * from tm_winners where pool_id = ?") +const TM_SELECT_WINNERS = SQL("select user_id from tm_winners where pool_id = ?").pluck() const TM_SELECT_PLAYERS_2P = SQL(` with -- cgit v1.2.3