shorten yd fetch duration

This commit is contained in:
Omair Saleh
2022-10-20 11:37:55 +08:00
parent be283dee78
commit a6446b88fd
@@ -138,7 +138,7 @@ class FetchOrderListsFromYdPortalProcessor
public function execute(?Carbon $start = null, ?Carbon $end = null) public function execute(?Carbon $start = null, ?Carbon $end = null)
{ {
try { try {
$start = $start ? $start : Carbon::today()->subDays(10); $start = $start ? $start : Carbon::today()->subDays(5);
$startLimit = Carbon::parse('01-12-2021'); $startLimit = Carbon::parse('01-12-2021');