@@ -4,6 +4,7 @@ namespace App\Services;
|
||||
|
||||
use App\Contracts\Service;
|
||||
use App\Events\PirepAccepted;
|
||||
use App\Events\PirepCancelled;
|
||||
use App\Events\PirepFiled;
|
||||
use App\Events\PirepRejected;
|
||||
use App\Events\UserStatsChanged;
|
||||
@@ -255,6 +256,8 @@ class PirepService extends Service
|
||||
'status' => PirepStatus::CANCELLED,
|
||||
], $pirep->id);
|
||||
|
||||
event(new PirepCancelled($pirep));
|
||||
|
||||
return $pirep;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user