diff --git a/app/Services/PIREPService.php b/app/Services/PIREPService.php index fa723c27..7416eb81 100644 --- a/app/Services/PIREPService.php +++ b/app/Services/PIREPService.php @@ -84,6 +84,7 @@ class PIREPService extends BaseService try { $found_pireps = Pirep::where($where) + ->where('state', '!=', PirepState::CANCELLED) ->where('created_at', '>=', $time_limit) ->get();