Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct PostWasApproved event trigger condition
Ensure the PostWasApproved event is only raised for posts that are not hidden. This fixes the issue where the event was incorrectly triggered for hidden posts. Additionally, the post's approval status is set to true upon deletion to remove any pending approval status.
- Loading branch information