diff --git a/app/Console/Commands/DbMapper/MaglooKeniaAll.php b/app/Console/Commands/DbMapper/MaglooKeniaAll.php index 718656d8..8a2d936e 100644 --- a/app/Console/Commands/DbMapper/MaglooKeniaAll.php +++ b/app/Console/Commands/DbMapper/MaglooKeniaAll.php @@ -42,7 +42,7 @@ class MaglooKeniaAll FindCompetitionGroupById::run($mapper); if ($debug) { - Notice::note($mapper, 'p'); + Notice::note($mapper, 'p', 1); } if ($mapper['txodds_home_id'] && $mapper['txodds_away_id'] && $mapper['txodds_group_id']) { @@ -54,7 +54,7 @@ class MaglooKeniaAll ->where('starttime', '<', $to) ->where('home_id', $mapper['txodds_home_id']) ->where('away_id', $mapper['txodds_away_id']) - ->where('group_id', $mapper['txodds_group_id']) + ->where('competition_group_id', $mapper['txodds_group_id']) ->first(); if ($event) {