fix(community): 유료 게시글 최근 소식 발행을 막는다

This commit is contained in:
2026-06-30 21:36:31 +09:00
parent 5d5547361c
commit b3d07cde38
3 changed files with 8 additions and 17 deletions

View File

@@ -145,6 +145,8 @@ class CreatorCommunityService(
}
private fun publishCommunityPostCreatedAfterCommit(post: CreatorCommunity, member: Member) {
if (post.price > 0) return
val occurredAtUtc = post.createdAt ?: LocalDateTime.now()
val newsContent = post.newsContentPreview()
afterCommit {