test #259

Merged
klaus merged 18 commits from test into main 2025-02-18 14:48:10 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 4370fef5d5 - Show all commits

View File

@ -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()
}
}

View File

@ -90,6 +90,7 @@ class AdminHashTagCurationService(
) ?: ContentHashTagCurationItem()
item.curation = curation
item.content = audioContent
item.isActive = true
itemRepository.save(item)
}
}