summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-24 00:59:37 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-01 16:45:47 +0100
commit6c1a4634402bbadd24822ad1457b113615782b30 (patch)
treeb99687c1bc280f6a307ae546aa25f3e73d267940 /server.js
parent75566438c2ba942abf3849b724e318cfa050f1ad (diff)
downloadserver-6c1a4634402bbadd24822ad1457b113615782b30.tar.gz
Fix eslint issues.
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.js b/server.js
index 278cc6e..51d1aa4 100644
--- a/server.js
+++ b/server.js
@@ -1297,8 +1297,6 @@ const SQL_INSERT_REMATCH = SQL(`
game_id
`).pluck()
-const SQL_INSERT_REMATCH_PLAYERS = SQL("insert into players (game_id, user_id, role, is_invite) select ?, user_id, role, user_id!=? from players where game_id=?")
-
const QUERY_LIST_PUBLIC_GAMES_OPEN = SQL(`
select * from game_view where status=0 and not is_private and join_count > 0 and join_count < player_count
and not exists ( select 1 from contacts where me = owner_id and you = ? and relation < 0 )