From dc429fe9ea2ee04e59cf52b3b030020bff9d6c49 Mon Sep 17 00:00:00 2001 From: Lukian LEIZOUR Date: Thu, 6 Jun 2024 13:29:50 +0200 Subject: [PATCH] commit --- libs/mysql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/mysql.js b/libs/mysql.js index 1014f47..d8795fb 100644 --- a/libs/mysql.js +++ b/libs/mysql.js @@ -14,7 +14,7 @@ const con = mysql.createConnection({ function getGames() { return new Promise((resolve, reject) => { con.query( - `SELECT title, subtitle, type, players, duration, ages FROM games`, + `SELECT id, title, subtitle, type, players, duration, ages FROM games`, (error, result) => { if (error) { reject(new Error(error));