mirror of
https://github.com/gotson/komga.git
synced 2025-12-16 13:33:49 +01:00
fix: cannot delete read list with custom cover
This commit is contained in:
parent
ad82d99dbe
commit
b73b8690a4
1 changed files with 1 additions and 1 deletions
|
|
@ -70,8 +70,8 @@ class ReadListLifecycle(
|
|||
logger.info { "Deleting empty read lists" }
|
||||
transactionTemplate.executeWithoutResult {
|
||||
val toDelete = readListRepository.findAllEmpty()
|
||||
readListRepository.delete(toDelete.map { it.id })
|
||||
thumbnailReadListRepository.deleteByReadListIds(toDelete.map { it.id })
|
||||
readListRepository.delete(toDelete.map { it.id })
|
||||
|
||||
toDelete.forEach { eventPublisher.publishEvent(DomainEvent.ReadListDeleted(it)) }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue