diff --git a/server.js b/server.js index ca5a35e..364f5a8 100644 --- a/server.js +++ b/server.js @@ -65,7 +65,7 @@ app.get('/', function (req, res) { }); database.each("SELECT * FROM players", function(err, row) { - players.push(row.name); + players.push(row["name"]); }); });