Explorar el Código

精简 events

flyzto hace 7 meses
padre
commit
6cf337af3c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/models/Games.js

+ 1 - 1
server/models/Games.js

@@ -189,7 +189,7 @@ const getGamesEvents = (platform) => {
       if (!gamesEvents[platform]) {
         gamesEvents[platform] = {};
       }
-      gamesEvents[platform][eventId] = { eventId, events: { ...events, ...special } };
+      gamesEvents[platform][eventId] = { ...events, ...special };
     });
   });
   return gamesEvents;