parent
93b0565368
commit
4370fef5d5
|
@ -75,7 +75,10 @@ class AdminHashTagCurationQueryRepositoryImpl(
|
|||
return queryFactory
|
||||
.select(contentHashTagCuration.id)
|
||||
.from(contentHashTagCuration)
|
||||
.where(contentHashTagCuration.tag.eq(tag))
|
||||
.where(
|
||||
contentHashTagCuration.tag.eq(tag),
|
||||
contentHashTagCuration.isActive.isTrue
|
||||
)
|
||||
.fetch().isNotEmpty()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,6 +90,7 @@ class AdminHashTagCurationService(
|
|||
) ?: ContentHashTagCurationItem()
|
||||
item.curation = curation
|
||||
item.content = audioContent
|
||||
item.isActive = true
|
||||
itemRepository.save(item)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue