|
@@ -100,7 +100,6 @@ const extractOdds = ({ evtime, events, sptime, special }) => {
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
const eventMatch = () => {
|
|
const eventMatch = () => {
|
|
|
- Logs.out('start event match');
|
|
|
|
|
getGamesRelation()
|
|
getGamesRelation()
|
|
|
.then(relations => {
|
|
.then(relations => {
|
|
|
const nowTime = Date.now();
|
|
const nowTime = Date.now();
|
|
@@ -112,6 +111,8 @@ const eventMatch = () => {
|
|
|
return true;
|
|
return true;
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ console.log(JSON.stringify(relations, null, 2));
|
|
|
|
|
+
|
|
|
const relationLength = relations.length;
|
|
const relationLength = relations.length;
|
|
|
if (!relationLength) {
|
|
if (!relationLength) {
|
|
|
if (GLOBAL_DATA.relationLength) {
|
|
if (GLOBAL_DATA.relationLength) {
|