From 918691acfc7bd4b4f197c41926068f0d086279ac Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 8 Mar 2024 01:03:26 +0100 Subject: Fix replay json when invalid/missing user ids. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index d7d5caf..45fb015 100644 --- a/server.js +++ b/server.js @@ -1254,7 +1254,7 @@ const SQL_SELECT_REPLAY = SQL(` json_object('role', role, 'name', name) ) from players - join users using(user_id) + left join users using(user_id) where game_id = outer.game_id ), 'state', -- cgit v1.2.3