Ken преди 4 дни
родител
ревизия
6fdd015afb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -488,7 +488,7 @@ class BetService extends BaseService
                             // $amount = number_format($amount,2);
                             $item = [];
                             $item['keywords'] = $gameplayRuleInfo['keywords'];
-                            $item['odds'] = $gameplayRuleInfo['odds'];
+                            $item['odds'] = floatval($gameplayRuleInfo['odds']);
                             $item['amount'] = $amount;
                             $item['first_name'] = $first_name;
                             $item['member_id'] = $member_id;