Fix notifications in case of new corr move
[vchess.git] / server / models / Game.js
index daae61c..f175164 100644 (file)
@@ -166,7 +166,7 @@ const GameModel =
   {
     db.serialize(function() {
       const query =
-        "SELECT id " +
+        "SELECT uid " +
         "FROM Players " +
         "WHERE gid = " + id;
       db.all(query, (err,players) => {