ignore cancelled pireps in dupe check #179
This commit is contained in:
parent
936bceba5d
commit
3ded06390c
@ -84,6 +84,7 @@ class PIREPService extends BaseService
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$found_pireps = Pirep::where($where)
|
$found_pireps = Pirep::where($where)
|
||||||
|
->where('state', '!=', PirepState::CANCELLED)
|
||||||
->where('created_at', '>=', $time_limit)
|
->where('created_at', '>=', $time_limit)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user