mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
test: fix tests
This commit is contained in:
parent
f06d9677b9
commit
4744e76aa6
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class SearchIndexLifecycle(
|
|||
private val luceneHelper: LuceneHelper,
|
||||
) {
|
||||
|
||||
fun rebuildIndex(entities: Set<LuceneEntity>?) {
|
||||
fun rebuildIndex(entities: Set<LuceneEntity>? = null) {
|
||||
val targetEntities = entities ?: LuceneEntity.values().toSet()
|
||||
|
||||
logger.info { "Rebuild index for: ${targetEntities.map { it.type }}" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue