Skip to content

Commit 43d5400

Browse files
committed
actually, keep it where
1 parent d5cbce5 commit 43d5400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Console/Commands/PurgeCartOrdersCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function handle()
2222

2323
Order::query()
2424
->whereOrderStatus(OrderStatus::Cart)
25-
->whereDate('updated_at', '<=', Carbon::now()->subDays(14))
25+
->where('updated_at', '<=', Carbon::now()->subDays(14))
2626
->chunk(100, function ($orders) {
2727
$orders->each(function ($order) {
2828
$this->line("Deleting Order: {$order->id()}");

0 commit comments

Comments
 (0)