flyzto 2 주 전
부모
커밋
329a95f330
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/models/GamesPs.js

+ 1 - 1
server/models/GamesPs.js

@@ -651,7 +651,7 @@ const updateGamesEvents = ({ platform, mk, games, outrights, timestamp, tp }) =>
     }
 
     const { UpdateTimestamp } = GAMES;
-    if ((!UpdateTimestamp[tp] || UpdateTimestamp[tp] < timestamp) && (games.length || outrights.length)) {
+    if ((!UpdateTimestamp[tp] || UpdateTimestamp[tp] < timestamp) && (games?.length || outrights?.length)) {
       // Logs.out('updateGamesEvents', { tp, timestamp });
       UpdateTimestamp[tp] = timestamp;
     }