summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-20 00:48:28 +0100
committerTor Andersson <tor@ccxvii.net>2021-11-20 00:48:28 +0100
commit6818805da05c4b4f0ed55d93d3bfd1af171abe47 (patch)
tree407cadf1486715eebbdf69a8e324c584550a1630 /server.js
parentfc1688b688c77d8ff11db45f51855ccce6e74a3a (diff)
downloadserver-6818805da05c4b4f0ed55d93d3bfd1af171abe47.tar.gz
Fix stats.
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index a531778..ed2ba1c 100644
--- a/server.js
+++ b/server.js
@@ -1742,7 +1742,7 @@ io.on('connection', (socket) => {
const QUERY_STATS = db.prepare(`
SELECT title_id, scenario, result, count(*) AS count
FROM game_full_view
- WHERE status=2 AND private=0
+ WHERE status=2 AND is_solo=0
GROUP BY title_name, scenario, result
`);