Compare commits

...

2 Commits

Author SHA1 Message Date
renovate[bot]
049c942406 Update dependency ch.qos.logback:logback-classic to v1.5.38 2026-07-09 09:54:49 +00:00
Mitchell Syer
9a0871ab93 Fix missing memo field in getPageList (#2175) 2026-07-08 15:41:22 -04:00
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- . - .
### Fixed ### Fixed
- . - (**Extension**) Fix missing memo field in getPageList
## [v2.3.2238] - 2026-07-05 ## [v2.3.2238] - 2026-07-05

View File

@@ -39,7 +39,7 @@ serialization-xml = { module = "io.github.pdvrieze.xmlutil:serialization-jvm", v
# Logging # Logging
slf4japi = "org.slf4j:slf4j-api:2.0.18" slf4japi = "org.slf4j:slf4j-api:2.0.18"
logback = "ch.qos.logback:logback-classic:1.5.34" logback = "ch.qos.logback:logback-classic:1.5.38"
kotlinlogging = "io.github.oshai:kotlin-logging-jvm:8.0.4" kotlinlogging = "io.github.oshai:kotlin-logging-jvm:8.0.4"
# OkHttp # OkHttp

View File

@@ -14,6 +14,7 @@ import io.github.oshai.kotlinlogging.KotlinLogging
import io.github.reactivecircus.cache4k.Cache import io.github.reactivecircus.cache4k.Cache
import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock import kotlinx.coroutines.sync.withLock
import kotlinx.serialization.json.Json
import org.jetbrains.exposed.v1.core.ResultRow import org.jetbrains.exposed.v1.core.ResultRow
import org.jetbrains.exposed.v1.core.and import org.jetbrains.exposed.v1.core.and
import org.jetbrains.exposed.v1.core.eq import org.jetbrains.exposed.v1.core.eq
@@ -88,6 +89,7 @@ suspend fun refreshChapterPageList(
scanlator = chapterEntry[ChapterTable.scanlator] scanlator = chapterEntry[ChapterTable.scanlator]
chapter_number = chapterEntry[ChapterTable.chapter_number] chapter_number = chapterEntry[ChapterTable.chapter_number]
date_upload = chapterEntry[ChapterTable.date_upload] date_upload = chapterEntry[ChapterTable.date_upload]
memo = Json.decodeFromString(chapterEntry[ChapterTable.memo])
}, },
).mapIndexed { index, page -> Page(index, page.url, page.imageUrl, page.uri) } ).mapIndexed { index, page -> Page(index, page.url, page.imageUrl, page.uri) }