Explorar el Código

Merge branch 'master' of ssh://git.usgamewin.com:22022/laoma/admin_api

Tree hace 2 semanas
padre
commit
c35fe2c361
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Console/Commands/RecordPaidRewardDailyStatistics.php

+ 1 - 1
app/Console/Commands/RecordPaidRewardDailyStatistics.php

@@ -61,7 +61,7 @@ class RecordPaidRewardDailyStatistics extends Command
             ->get()->map(function ($item) {
                 return json_decode(json_encode($item), true);
             })->toArray();
-        $stats[] = $this->sumAll($dbStats, 'chips_all');
+        $stats[] = $this->sumAll(array_merge($stats, $dbStats), 'chips_all');
 
         return $stats;
     }