From e97c7cd0f4bc5e048740146cc101b13607235c6f Mon Sep 17 00:00:00 2001 From: salam Date: Sat, 7 Feb 2026 17:15:32 +0100 Subject: [PATCH] bug fix odds name inversion --- app/Console/Commands/Grapper/Betsapi/Bet365.php | 2 +- app/Console/Commands/Grapper/Betsapi/Odds.php | 4 ++-- app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/Grapper/Betsapi/Bet365.php b/app/Console/Commands/Grapper/Betsapi/Bet365.php index 8c210791..038e2765 100644 --- a/app/Console/Commands/Grapper/Betsapi/Bet365.php +++ b/app/Console/Commands/Grapper/Betsapi/Bet365.php @@ -300,7 +300,7 @@ class Bet365 } else { $res->h3w = $odds['h3w']; $res->d3w = $odds['d3w']; - $res->d3w = $odds['a3w']; + $res->a3w = $odds['a3w']; $res->flags = 1; $res->margin = $odds['margin']; diff --git a/app/Console/Commands/Grapper/Betsapi/Odds.php b/app/Console/Commands/Grapper/Betsapi/Odds.php index fa91045c..367aed45 100644 --- a/app/Console/Commands/Grapper/Betsapi/Odds.php +++ b/app/Console/Commands/Grapper/Betsapi/Odds.php @@ -95,8 +95,8 @@ class Odds Odds3way::create($odds); } else { $res->h3w = $odds['h3w']; - $res->a3w = $odds['d3w']; - $res->d3w = $odds['a3w']; + $res->d3w = $odds['d3w']; + $res->a3w = $odds['a3w']; $res->flags = 1; $res->margin = $odds['margin']; diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php b/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php index bbca2517..46a1d34d 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php @@ -27,7 +27,7 @@ class _3WayHt } elseif (! $block_update) { $res->h3w = $odds['h3w']; $res->d3w = $odds['d3w']; - $res->d3w = $odds['a3w']; + $res->a3w = $odds['a3w']; $res->flags = 1; $res->margin = $odds['margin'];