|
@@ -180,7 +180,7 @@ const getPassableEvents = (relations, eventsLogsMap) => {
|
|
|
const oddsMap = {};
|
|
const oddsMap = {};
|
|
|
|
|
|
|
|
Object.keys(rel).forEach(platform => {
|
|
Object.keys(rel).forEach(platform => {
|
|
|
- const { leagueName, teamHomeName, teamAwayName, timestamp, stage, score, retime, evtime, events, sptime, special } = rel[platform];
|
|
|
|
|
|
|
+ const { leagueName, teamHomeName, teamAwayName, timestamp, stage, score, retime, evtime, events, sptime, special } = rel[platform] ?? {};
|
|
|
if (!events && !special) {
|
|
if (!events && !special) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|