Ken hace 5 días
padre
commit
1d0456723e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -77,7 +77,7 @@ class BetService extends BaseService
         }
 
         if (isset($search['is_winner']) && !empty($search['is_winner'])) {
-            $where[] = ['status', '=', 1];
+            $where[] = ['status', '=', 2];
             if ($search['is_winner'] == 1) {
                 $where[] = ['profit', '>', 0];
             } else {