save updates
This commit is contained in:
1 parent
3671902fe7
commit
046407df18
36 files changed
+261
-305
No files matched your search
@@ -3,6 +3,7 @@
|
||||
namespace App\Console\Commands\Grapper\Magloo\Odds;
|
||||
|
||||
use App\Models\OddsGgng;
|
||||
use App\Utilities\DatabaseFunctions;
|
||||
use App\Utilities\Margin;
|
||||
|
||||
class MaglooStoreGgng
|
||||
@@ -25,7 +26,9 @@ class MaglooStoreGgng
|
||||
$res->ng = $odds['ng'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user