Skip to content

Commit

Permalink
fix: missing release of registered evenrts
Browse files Browse the repository at this point in the history
  • Loading branch information
novacuum authored Nov 28, 2024
1 parent a9646d2 commit 5eeb2b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Jobs/CheckAndUpdateUserEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public function handle(UserValidator $validator)
$user->changeEmail($this->providedEmail);

$user->save();

$user->releaseEvents();
}
}
}

0 comments on commit 5eeb2b6

Please sign in to comment.