Fix command dispatching
This commit is contained in:
@@ -58,7 +58,7 @@ class SubscribeSubscriberCommandHandler
|
||||
});
|
||||
|
||||
if ($command->verified) {
|
||||
dispatch(new VerifySubscriberCommand($subscriber));
|
||||
execute(new VerifySubscriberCommand($subscriber));
|
||||
} else {
|
||||
$subscriber->notify(new VerifySubscriptionNotification());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user