diff --git a/src/EventSourcingServiceProvider.php b/src/EventSourcingServiceProvider.php index b2c1ad69..d309ddce 100644 --- a/src/EventSourcingServiceProvider.php +++ b/src/EventSourcingServiceProvider.php @@ -51,7 +51,7 @@ public function packageBooted(): void if (method_exists($this, 'optimizes')) { $this->optimizes( optimize: 'event-sourcing:cache-event-handlers', - clear: 'event-sourcing:clear-cached-event-handlers', + clear: 'event-sourcing:clear-event-handlers', key: 'laravel-event-sourcing', ); }