flyzto il y a 2 semaines
Parent
commit
b63a76b8bc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server/models/GamesPs.js

+ 1 - 1
server/models/GamesPs.js

@@ -960,7 +960,7 @@ const getGamesRelation = ({
     }
     Object.keys(tempRel).forEach(platform => {
       const { events, evtime, special, sptime, ...gameInfo } = tempRel[platform] ?? {};
-      if (!listEvents) {
+      if (!listEvents && !listOdds) {
         tempRel[platform] = gameInfo;
       }
       if (listOdds) {