Fix where for paused
This commit is contained in:
parent
f42a41286d
commit
78d3c6b577
@ -41,7 +41,7 @@ class DeletePireps extends Listener
|
||||
$dt = Carbon::now('UTC')->subHours($expire_time_hours);
|
||||
$pireps = Pirep::where('created_at', '<', $dt)
|
||||
->where(['state' => $state])
|
||||
->where(['status', '<>', PirepStatus::PAUSED])
|
||||
->where('status', '<>', PirepStatus::PAUSED)
|
||||
->get();
|
||||
|
||||
/** @var PirepService $pirepSvc */
|
||||
|
Loading…
Reference in New Issue
Block a user