fix(community): 유료 게시글 최근 소식 발행을 막는다
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user