소스 검색

精简 events

flyzto 7 달 전
부모
커밋
6cf337af3c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;