diff --git a/app/Observers/StatusObserver.php b/app/Observers/StatusObserver.php index a5bd84ae..15d24cbc 100644 --- a/app/Observers/StatusObserver.php +++ b/app/Observers/StatusObserver.php @@ -7,6 +7,13 @@ use App\Services\ProfileStatusService; class StatusObserver { + /** + * Handle events after all transactions are committed. + * + * @var bool + */ + public $afterCommit = true; + /** * Handle the Status "created" event. *